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

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

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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 // 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 10 matching lines...) Expand all
21 #include "ui/base/gtk/gtk_signal.h" 21 #include "ui/base/gtk/gtk_signal.h"
22 #include "ui/base/models/simple_menu_model.h" 22 #include "ui/base/models/simple_menu_model.h"
23 #include "ui/base/x/active_window_watcher_x_observer.h" 23 #include "ui/base/x/active_window_watcher_x_observer.h"
24 24
25 class AvatarMenuButtonGtk; 25 class AvatarMenuButtonGtk;
26 class BrowserWindowGtk; 26 class BrowserWindowGtk;
27 class CustomDrawButton; 27 class CustomDrawButton;
28 class ThemeServiceGtk; 28 class ThemeServiceGtk;
29 class MenuGtk; 29 class MenuGtk;
30 class PopupPageMenuModel; 30 class PopupPageMenuModel;
31 class TabContents;
32 31
33 namespace content { 32 namespace content {
34 class WebContents; 33 class WebContents;
35 } 34 }
36 35
37 class BrowserTitlebar : public content::NotificationObserver, 36 class BrowserTitlebar : public content::NotificationObserver,
38 public ui::ActiveWindowWatcherXObserver, 37 public ui::ActiveWindowWatcherXObserver,
39 public ui::SimpleMenuModel::Delegate { 38 public ui::SimpleMenuModel::Delegate {
40 public: 39 public:
41 // A default button order string for when we aren't asking gconf for the 40 // A default button order string for when we aren't asking gconf for the
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // The avatar button. 289 // The avatar button.
291 scoped_ptr<AvatarMenuButtonGtk> avatar_button_; 290 scoped_ptr<AvatarMenuButtonGtk> avatar_button_;
292 291
293 // Theme provider for building buttons. 292 // Theme provider for building buttons.
294 ThemeServiceGtk* theme_service_; 293 ThemeServiceGtk* theme_service_;
295 294
296 content::NotificationRegistrar registrar_; 295 content::NotificationRegistrar registrar_;
297 }; 296 };
298 297
299 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_ 298 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TITLEBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen_controller.h ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698