--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
+Nick Carter +Avi DrissmanThere's a test-only interface that does what you want: https://cs.chromium.org/chromium/src/content/public/test/browser_test_utils.h?rcl=1484151649&l=468 , but it's explicitly disallowed to expose that, see https://cs.chromium.org/chromium/src/content/browser/web_contents/web_contents_impl.h?l=1506.What kind of WebContents do you need to track that aren't exposed by the TabStripModel?
On Wednesday, January 11, 2017 at 4:14:50 PM UTC-5, Lucas Gadani wrote:What kind of WebContents do you need to track that aren't exposed by the TabStripModel?The biggest ones are prerenders. Also included are extensions pages, embedded <webview> and <appview> in extensions/apps. That's why I included the reference doc for callsites to WebContents::Create(). Basically any contents that requires resources (memory, network requests) and that a component that manages those resources would want to know which request to prioritize/which contents to optimize.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
The TaskManager (in chrome/) manages to track all WebContentses without needing a hook; it just uses the TabHelper pattern.
This allows different flavors of WebContentses to be treated differently -- for the TM that means they are formatted differently; for priority management, for example, you will want to treat devtools windows (which are WebContentses), or extension browser actions, or panels, or a background printing task, or an extension background page, differently from regular tabs. If all you get is a stream of WebContents* pointers from the content layer, it would be practically hard to accurately know what it's for, since content/ has partial-to-no knowledge of these features.
I didn't think to look at how TaskManager was doing it. Thanks!jam@ (or anyone else) About browser-design-docs@, is this the right email? I can't find a reference to it anywhere. How are people supposed to know that they should share their design doc there? Thanks!
On Thu, Jan 12, 2017 at 1:51 PM, Patrick <pmon...@chromium.org> wrote:I didn't think to look at how TaskManager was doing it. Thanks!jam@ (or anyone else) About browser-design-docs@, is this the right email? I can't find a reference to it anywhere. How are people supposed to know that they should share their design doc there? Thanks!Please see go/newchromefeature which has more information, including templates.
On Thu, Jan 12, 2017 at 2:33 PM, John Abd-El-Malek <j...@chromium.org> wrote:On Thu, Jan 12, 2017 at 1:51 PM, Patrick <pmon...@chromium.org> wrote:I didn't think to look at how TaskManager was doing it. Thanks!jam@ (or anyone else) About browser-design-docs@, is this the right email? I can't find a reference to it anywhere. How are people supposed to know that they should share their design doc there? Thanks!Please see go/newchromefeature which has more information, including templates.I don't see where that document mentions browser-design-docs@? It gives three options: an internal google list, chromium-dev@ and blink-dev@ in the "where to post your design doc" section.
On Thu, Jan 12, 2017 at 11:46 PM Marijn Kruisselbrink <m...@chromium.org> wrote:On Thu, Jan 12, 2017 at 2:33 PM, John Abd-El-Malek <j...@chromium.org> wrote:On Thu, Jan 12, 2017 at 1:51 PM, Patrick <pmon...@chromium.org> wrote:I didn't think to look at how TaskManager was doing it. Thanks!jam@ (or anyone else) About browser-design-docs@, is this the right email? I can't find a reference to it anywhere. How are people supposed to know that they should share their design doc there? Thanks!Please see go/newchromefeature which has more information, including templates.I don't see where that document mentions browser-design-docs@? It gives three options: an internal google list, chromium-dev@ and blink-dev@ in the "where to post your design doc" section.The first of those is what John was referring to.
On Fri, Jan 13, 2017 at 2:02 AM, Colin Blundell <blun...@chromium.org> wrote:On Thu, Jan 12, 2017 at 11:46 PM Marijn Kruisselbrink <m...@chromium.org> wrote:On Thu, Jan 12, 2017 at 2:33 PM, John Abd-El-Malek <j...@chromium.org> wrote:On Thu, Jan 12, 2017 at 1:51 PM, Patrick <pmon...@chromium.org> wrote:I didn't think to look at how TaskManager was doing it. Thanks!jam@ (or anyone else) About browser-design-docs@, is this the right email? I can't find a reference to it anywhere. How are people supposed to know that they should share their design doc there? Thanks!Please see go/newchromefeature which has more information, including templates.I don't see where that document mentions browser-design-docs@? It gives three options: an internal google list, chromium-dev@ and blink-dev@ in the "where to post your design doc" section.The first of those is what John was referring to.
I still don't understand why this design doc would have to be sent to the internal mailing list rather than the public chromium-dev? John made it sound like the design doc should have been shared there before being shared in public, while the go/newchromefeature document seems to say that only particularly sensitive features that can't be discussed in public, or things needing to go through launch review. So is the argument that this feature is particularly sensitive and should not be discussed in public? Or that the feature has privacy or security implications that need to be discussed in private before discussing the implementation details in public? John's comment somehow sounded like he wanted to discuss the implementation design of the feature in private, rather than the cross functional aspects and/or sensitive issues, which as far as I can tell is the opposite of what go/newchromefeature suggests. Am I misreading go/newchromefeature or am I just misunderstanding what was being suggested here?