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

Side by Side Diff: chrome/browser/ui/tabs/tab_strip_model_observer.h

Issue 225093019: Zoom Extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_
7 7
8 #include "content/public/common/page_zoom.h"
9
8 class TabStripModel; 10 class TabStripModel;
9 11
10 namespace content { 12 namespace content {
11 class WebContents; 13 class WebContents;
12 } 14 }
13 15
14 namespace ui { 16 namespace ui {
15 class ListSelectionModel; 17 class ListSelectionModel;
16 } 18 }
17 19
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 145
144 // The TabStripModel now no longer has any tabs. The implementer may 146 // The TabStripModel now no longer has any tabs. The implementer may
145 // use this as a trigger to try and close the window containing the 147 // use this as a trigger to try and close the window containing the
146 // TabStripModel, for example... 148 // TabStripModel, for example...
147 virtual void TabStripEmpty(); 149 virtual void TabStripEmpty();
148 150
149 // Sent when the tabstrip model is about to be deleted and any reference held 151 // Sent when the tabstrip model is about to be deleted and any reference held
150 // must be dropped. 152 // must be dropped.
151 virtual void TabStripModelDeleted(); 153 virtual void TabStripModelDeleted();
152 154
155 // A zoom change has been initiated in a tab.
156 virtual void TabZoomChange(content::WebContents* contents,
157 double old_zoom_level,
158 double new_zoom_level,
159 content::ZoomMode zoom_mode);
160
153 protected: 161 protected:
154 virtual ~TabStripModelObserver() {} 162 virtual ~TabStripModelObserver() {}
155 }; 163 };
156 164
157 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 165 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698