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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // A helper class that contains the gtk widgets that make up the titlebar. The 5 // A helper class that contains the gtk widgets that make up the titlebar. The
6 // titlebar consists of the tabstrip and if the custom chrome frame is turned 6 // titlebar consists of the tabstrip and if the custom chrome frame is turned
7 // on, it includes the taller titlebar and minimize, restore, maximize, and 7 // on, it includes the taller titlebar and minimize, restore, maximize, and
8 // close buttons. 8 // close buttons.
9 9
10 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_ 10 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // -- Context Menu ----------------------------------------------------------- 154 // -- Context Menu -----------------------------------------------------------
155 155
156 // SimpleMenuModel::Delegate implementation: 156 // SimpleMenuModel::Delegate implementation:
157 virtual bool IsCommandIdEnabled(int command_id) const; 157 virtual bool IsCommandIdEnabled(int command_id) const;
158 virtual bool IsCommandIdChecked(int command_id) const; 158 virtual bool IsCommandIdChecked(int command_id) const;
159 virtual void ExecuteCommand(int command_id); 159 virtual void ExecuteCommand(int command_id);
160 virtual bool GetAcceleratorForCommandId(int command_id, 160 virtual bool GetAcceleratorForCommandId(int command_id,
161 ui::Accelerator* accelerator); 161 ui::Accelerator* accelerator);
162 162
163 // Overridden from NotificationObserver: 163 // Overridden from NotificationObserver:
164 virtual void Observe(NotificationType type, 164 virtual void Observe(int type,
165 const NotificationSource& source, 165 const NotificationSource& source,
166 const NotificationDetails& details); 166 const NotificationDetails& details);
167 167
168 // Overriden from ActiveWindowWatcher::Observer. 168 // Overriden from ActiveWindowWatcher::Observer.
169 virtual void ActiveWindowChanged(GdkWindow* active_window); 169 virtual void ActiveWindowChanged(GdkWindow* active_window);
170 170
171 bool IsTypePanel(); 171 bool IsTypePanel();
172 172
173 // Pointers to the browser window that owns us and it's GtkWindow. 173 // Pointers to the browser window that owns us and it's GtkWindow.
174 BrowserWindowGtk* browser_window_; 174 BrowserWindowGtk* browser_window_;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Shown in the profile button. Only used to register a notification observer. 257 // Shown in the profile button. Only used to register a notification observer.
258 StringPrefMember usernamePref_; 258 StringPrefMember usernamePref_;
259 259
260 // Theme provider for building buttons. 260 // Theme provider for building buttons.
261 GtkThemeService* theme_service_; 261 GtkThemeService* theme_service_;
262 262
263 NotificationRegistrar registrar_; 263 NotificationRegistrar registrar_;
264 }; 264 };
265 265
266 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_ 266 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698