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

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

Issue 8595003: Have panels respond to changes in work area on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback. Created 9 years, 1 month 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual bool IsCommandIdChecked(int command_id) const; 169 virtual bool IsCommandIdChecked(int command_id) const;
170 virtual void ExecuteCommand(int command_id); 170 virtual void ExecuteCommand(int command_id);
171 virtual bool GetAcceleratorForCommandId(int command_id, 171 virtual bool GetAcceleratorForCommandId(int command_id,
172 ui::Accelerator* accelerator); 172 ui::Accelerator* accelerator);
173 173
174 // Overridden from content::NotificationObserver: 174 // Overridden from content::NotificationObserver:
175 virtual void Observe(int type, 175 virtual void Observe(int type,
176 const content::NotificationSource& source, 176 const content::NotificationSource& source,
177 const content::NotificationDetails& details) OVERRIDE; 177 const content::NotificationDetails& details) OVERRIDE;
178 178
179 // Overriden from ActiveWindowWatcher::Observer. 179 // Overriden from ActiveWindowWatcherX::Observer.
180 virtual void ActiveWindowChanged(GdkWindow* active_window); 180 virtual void ActiveWindowChanged(GdkWindow* active_window);
181 181
182 bool IsTypePanel(); 182 bool IsTypePanel();
183 183
184 // Whether to display the avatar image. 184 // Whether to display the avatar image.
185 bool ShouldDisplayAvatar(); 185 bool ShouldDisplayAvatar();
186 186
187 // Returns true if the profile associated with this BrowserWindow is off the 187 // Returns true if the profile associated with this BrowserWindow is off the
188 // record. 188 // record.
189 bool IsOffTheRecord(); 189 bool IsOffTheRecord();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // The avatar button. 276 // The avatar button.
277 scoped_ptr<AvatarMenuButtonGtk> avatar_button_; 277 scoped_ptr<AvatarMenuButtonGtk> avatar_button_;
278 278
279 // Theme provider for building buttons. 279 // Theme provider for building buttons.
280 GtkThemeService* theme_service_; 280 GtkThemeService* theme_service_;
281 281
282 content::NotificationRegistrar registrar_; 282 content::NotificationRegistrar registrar_;
283 }; 283 };
284 284
285 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_ 285 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_window_gtk.h » ('j') | ui/base/x/active_window_watcher_x.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698