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

Side by Side Diff: chrome/browser/ui/gtk/browser_toolbar_gtk.h

Issue 23851016: Convert zoom callbacks to use CallbackRegistry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 2 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_GTK_BROWSER_TOOLBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 Browser* browser_; 202 Browser* browser_;
203 BrowserWindowGtk* window_; 203 BrowserWindowGtk* window_;
204 204
205 // Controls whether or not a home button should be shown on the toolbar. 205 // Controls whether or not a home button should be shown on the toolbar.
206 BooleanPrefMember show_home_button_; 206 BooleanPrefMember show_home_button_;
207 207
208 // Preferences controlling the configured home page. 208 // Preferences controlling the configured home page.
209 StringPrefMember home_page_; 209 StringPrefMember home_page_;
210 BooleanPrefMember home_page_is_new_tab_page_; 210 BooleanPrefMember home_page_is_new_tab_page_;
211 211
212 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 212 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
213 content::NotificationRegistrar registrar_; 213 content::NotificationRegistrar registrar_;
214 214
215 // A GtkEntry that isn't part of the hierarchy. We keep this for native 215 // A GtkEntry that isn't part of the hierarchy. We keep this for native
216 // rendering. 216 // rendering.
217 ui::OwnedWidgetGtk offscreen_entry_; 217 ui::OwnedWidgetGtk offscreen_entry_;
218 218
219 // Manages the home button drop signal handler. 219 // Manages the home button drop signal handler.
220 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; 220 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); 222 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk);
223 }; 223 };
224 224
225 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 225 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698