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

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

Issue 10444040: Tracks changes to zoom icon and zoom percentage. Notifies browser window if the icon should be chan… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser_window.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 46ba61cd7af8162c330ab1cd451aa825a901b08f..9c800eab121afffd6471e6e56d1d906be9604d3a 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -40,6 +40,7 @@
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h"
+#include "chrome/browser/ui/zoom/zoom_tab_helper_delegate.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension_constants.h"
@@ -91,6 +92,7 @@ class Browser : public TabStripModelDelegate,
public ConstrainedWindowTabHelperDelegate,
public BlockedContentTabHelperDelegate,
public BookmarkTabHelperDelegate,
+ public ZoomTabHelperDelegate,
Ben Goodger (Google) 2012/05/29 18:04:41 rather than make Browser be the observer, and then
Kyle Horimoto 2012/05/31 23:13:52 As discussed offline, if the Browser is not the ob
public ExtensionTabHelperDelegate,
public content::PageNavigator,
public CommandUpdater::CommandUpdaterDelegate,
@@ -1011,6 +1013,13 @@ class Browser : public TabStripModelDelegate,
virtual void URLStarredChanged(TabContentsWrapper* source,
bool starred) OVERRIDE;
+ // Overridden from ZoomTabHelperDelegate:
+ virtual void ZoomIconStateChanged(TabContentsWrapper *source,
+ ZoomTabHelper::ZoomIconState state,
+ int zoomPercent) OVERRIDE;
+ virtual void ZoomChanged(TabContentsWrapper *source,
+ int zoomPercent) OVERRIDE;
+
// Overridden from ExtensionTabHelperDelegate:
virtual void OnDidGetApplicationInfo(TabContentsWrapper* source,
int32 page_id) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698