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

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: Fix javascript test function signature. Created 6 years, 5 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..d5e9d7299bb6a6e7c485cfcb253e50d12ff54a5d 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -678,8 +678,8 @@ class Browser : public TabStripModelObserver,
bool starred) OVERRIDE;
// Overridden from ZoomObserver:
- virtual void OnZoomChanged(content::WebContents* source,
- bool can_show_bubble) OVERRIDE;
+ virtual void OnZoomChanged(
+ const ZoomController::ZoomChangedEventData& data) OVERRIDE;
// Overridden from SelectFileDialog::Listener:
virtual void FileSelected(const base::FilePath& path,
@@ -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