Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2168)

Unified Diff: chrome/browser/ui/browser.h

Issue 301733006: Zoom Extension API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments: move ZoomObserver registration to TabsEventRouter. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 5dac267aa171184e86e28f6bb189395073ba2e8e..1f6c0a956f679712932224e9adb5f3f3d9cd06cb 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -754,8 +754,10 @@ class Browser : public TabStripModelObserver,
// Assorted utility functions ///////////////////////////////////////////////
// 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);
+ // associated tab helpers that are needed. If |set_delegate| is true, this
+ // browser object is set as a delegate for |web_contents| components, else
+ // is is removed as a delegate.
+ void SetAsDelegate(content::WebContents* web_contents, bool set_delegate);
// Shows the Find Bar, optionally selecting the next entry that matches the
// existing search string for that Tab. |forward_direction| controls the

Powered by Google App Engine
This is Rietveld 408576698