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

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: 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
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 3fc5e14ef66cd57737255cc285abaf671cf706b4..326c05b6e3a262f69db7ae33a1e50925250311ad 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
@@ -46,6 +46,7 @@ class TabSpecificContentSettings;
class ThumbnailGenerator;
class TranslateTabHelper;
class WebIntentPickerController;
+class ZoomTabHelper;
#if defined(ENABLE_ONE_CLICK_SIGNIN)
class OneClickSigninHelper;
@@ -206,6 +207,10 @@ class TabContentsWrapper : public content::WebContentsObserver {
return web_intent_picker_controller_.get();
}
+ ZoomTabHelper* zoom_tab_helper() {
+ return zoom_tab_helper_.get();
+ }
+
// Overrides -----------------------------------------------------------------
// content::WebContentsObserver overrides:
@@ -263,6 +268,8 @@ class TabContentsWrapper : public content::WebContentsObserver {
// Handles displaying a web intents picker to the user.
scoped_ptr<WebIntentPickerController> web_intent_picker_controller_;
+ scoped_ptr<ZoomTabHelper> zoom_tab_helper_;
+
// 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.)

Powered by Google App Engine
This is Rietveld 408576698