Chromium Code Reviews| Index: chrome/browser/ui/browser.h |
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
| index 5dac267aa171184e86e28f6bb189395073ba2e8e..67ac7c1cec2e3f5ec309c84cb55d531ab152f8c6 100644 |
| --- a/chrome/browser/ui/browser.h |
| +++ b/chrome/browser/ui/browser.h |
| @@ -753,6 +753,11 @@ class Browser : public TabStripModelObserver, |
| // Assorted utility functions /////////////////////////////////////////////// |
| + // Sets/Clears this browser object as an observer on helpers of the web |
| + // contents. |
| + void SetAsObserver(content::WebContents* web_contents); |
|
sky
2014/06/24 16:23:41
The name and this function and description imply s
wjmaclean
2014/06/24 18:04:07
It was the latter case that caused me to create th
|
| + void ClearAsObserver(content::WebContents* web_contents); |
| + |
| // Sets the specified browser as the delegate of the WebContents and all the |
| // associated tab helpers that are needed. |
| void SetAsDelegate(content::WebContents* web_contents, Browser* delegate); |