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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.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: Rebased Created 8 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/tab_contents/tab_contents_wrapper.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
index 3bff9f272b290864bf73c6a935043394bed00dc2..7a16f9047fd2311659d606f06a1604022a0b0d55 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
@@ -45,6 +45,7 @@ class TabSpecificContentSettings;
class ThumbnailGenerator;
class TranslateTabHelper;
class WebIntentPickerController;
+class ZoomController;
#if defined(ENABLE_ONE_CLICK_SIGNIN)
class OneClickSigninHelper;
@@ -221,6 +222,10 @@ class TabContentsWrapper : public content::WebContentsObserver {
return web_intent_picker_controller_.get();
}
+ ZoomController* zoom_controller() {
+ return zoom_controller_.get();
+ }
+
// Overrides -----------------------------------------------------------------
// content::WebContentsObserver overrides:
@@ -278,6 +283,8 @@ class TabContentsWrapper : public content::WebContentsObserver {
// Handles displaying a web intents picker to the user.
scoped_ptr<WebIntentPickerController> web_intent_picker_controller_;
+ scoped_ptr<ZoomController> zoom_controller_;
+
// Per-tab observers ---------------------------------------------------------
// (These provide no API for callers; objects that need to exist 1:1 with tabs
// and silently do their thing live here.)
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.cc ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698