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

Side by Side Diff: chrome/browser/gtk/bookmark_bar_gtk.h

Issue 261013: Renames browser/gtk/bookmark_context_menu to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GTK_BOOKMARK_BAR_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ 6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "app/slide_animation.h" 13 #include "app/slide_animation.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 15 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
16 #include "chrome/browser/gtk/menu_bar_helper.h" 16 #include "chrome/browser/gtk/menu_bar_helper.h"
17 #include "chrome/browser/gtk/view_id_util.h" 17 #include "chrome/browser/gtk/view_id_util.h"
18 #include "chrome/common/notification_observer.h" 18 #include "chrome/common/notification_observer.h"
19 #include "chrome/common/notification_registrar.h" 19 #include "chrome/common/notification_registrar.h"
20 #include "chrome/common/owned_widget_gtk.h" 20 #include "chrome/common/owned_widget_gtk.h"
21 #include "testing/gtest/include/gtest/gtest_prod.h" 21 #include "testing/gtest/include/gtest/gtest_prod.h"
22 22
23 class BookmarkContextMenu; 23 class BookmarkContextMenuGtk;
24 class BookmarkMenuController; 24 class BookmarkMenuController;
25 class Browser; 25 class Browser;
26 class BrowserWindowGtk; 26 class BrowserWindowGtk;
27 class CustomContainerButton; 27 class CustomContainerButton;
28 class PageNavigator; 28 class PageNavigator;
29 class Profile; 29 class Profile;
30 class TabstripOriginProvider; 30 class TabstripOriginProvider;
31 struct GtkThemeProvider; 31 struct GtkThemeProvider;
32 32
33 class BookmarkBarGtk : public AnimationDelegate, 33 class BookmarkBarGtk : public AnimationDelegate,
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // Theme provider for building buttons. 295 // Theme provider for building buttons.
296 GtkThemeProvider* theme_provider_; 296 GtkThemeProvider* theme_provider_;
297 297
298 // Whether we should show the instructional text in the bookmark bar. 298 // Whether we should show the instructional text in the bookmark bar.
299 bool show_instructions_; 299 bool show_instructions_;
300 300
301 MenuBarHelper menu_bar_helper_; 301 MenuBarHelper menu_bar_helper_;
302 302
303 // The last displayed right click menu, or NULL if no menus have been 303 // The last displayed right click menu, or NULL if no menus have been
304 // displayed yet. 304 // displayed yet.
305 scoped_ptr<BookmarkContextMenu> current_context_menu_; 305 scoped_ptr<BookmarkContextMenuGtk> current_context_menu_;
306 306
307 // The last displayed left click menu, or NULL if no menus have been 307 // The last displayed left click menu, or NULL if no menus have been
308 // displayed yet. 308 // displayed yet.
309 scoped_ptr<BookmarkMenuController> current_menu_; 309 scoped_ptr<BookmarkMenuController> current_menu_;
310 310
311 scoped_ptr<SlideAnimation> slide_animation_; 311 scoped_ptr<SlideAnimation> slide_animation_;
312 312
313 // Whether we are currently configured as floating (detached from the 313 // Whether we are currently configured as floating (detached from the
314 // toolbar). This reflects our actual state, and can be out of sync with 314 // toolbar). This reflects our actual state, and can be out of sync with
315 // what ShouldShowFloating() returns. 315 // what ShouldShowFloating() returns.
316 bool floating_; 316 bool floating_;
317 317
318 NotificationRegistrar registrar_; 318 NotificationRegistrar registrar_;
319 }; 319 };
320 320
321 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ 321 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698