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

Side by Side Diff: chrome/browser/ui/toolbar/wrench_menu_model.h

Issue 301733006: Zoom Extension API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, make zoom bubble icon loading safer. Created 6 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 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_TOOLBAR_WRENCH_MENU_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 scoped_ptr<BookmarkSubMenuModel> bookmark_sub_menu_model_; 182 scoped_ptr<BookmarkSubMenuModel> bookmark_sub_menu_model_;
183 183
184 // Recent Tabs submenu. 184 // Recent Tabs submenu.
185 scoped_ptr<RecentTabsSubMenuModel> recent_tabs_sub_menu_model_; 185 scoped_ptr<RecentTabsSubMenuModel> recent_tabs_sub_menu_model_;
186 186
187 ui::AcceleratorProvider* provider_; // weak 187 ui::AcceleratorProvider* provider_; // weak
188 188
189 Browser* browser_; // weak 189 Browser* browser_; // weak
190 TabStripModel* tab_strip_model_; // weak 190 TabStripModel* tab_strip_model_; // weak
191 191
192 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 192 scoped_ptr<content::HostZoomMap::Subscription> content_zoom_subscription_;
193 scoped_ptr<content::HostZoomMap::Subscription> browser_zoom_subscription_;
193 content::NotificationRegistrar registrar_; 194 content::NotificationRegistrar registrar_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); 196 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel);
196 }; 197 };
197 198
198 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ 199 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698