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

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

Issue 7669040: content: Move render_widget_host_view_gtk to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix. Created 9 years, 4 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 | « chrome/browser/ui/gtk/find_bar_gtk.h ('k') | chrome/browser/ui/gtk/global_history_menu.h » ('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) 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 #ifndef CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_
6 #define CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_ 6 #define CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 12 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
13 #include "chrome/browser/ui/gtk/global_menu_owner.h" 13 #include "chrome/browser/ui/gtk/global_menu_owner.h"
14 #include "chrome/browser/ui/gtk/owned_widget_gtk.h"
15 #include "content/common/notification_observer.h" 14 #include "content/common/notification_observer.h"
16 #include "content/common/notification_registrar.h" 15 #include "content/common/notification_registrar.h"
17 #include "ui/base/gtk/gtk_signal.h" 16 #include "ui/base/gtk/gtk_signal.h"
17 #include "ui/base/gtk/owned_widget_gtk.h"
18 18
19 class Browser; 19 class Browser;
20 class Profile; 20 class Profile;
21 21
22 typedef struct _GdkPixbuf GdkPixbuf; 22 typedef struct _GdkPixbuf GdkPixbuf;
23 typedef struct _GtkWidget GtkWidget; 23 typedef struct _GtkWidget GtkWidget;
24 24
25 // Manages the global bookmarks menu. 25 // Manages the global bookmarks menu.
26 // 26 //
27 // There are a few subtleties here: we can't rely on accurate event 27 // There are a few subtleties here: we can't rely on accurate event
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 OwnedWidgetGtk bookmark_menu_; 117 OwnedWidgetGtk bookmark_menu_;
118 118
119 ScopedRunnableMethodFactory<GlobalBookmarkMenu> method_factory_; 119 ScopedRunnableMethodFactory<GlobalBookmarkMenu> method_factory_;
120 120
121 // In order to appropriately update items in the bookmark menu, without 121 // In order to appropriately update items in the bookmark menu, without
122 // forcing a rebuild, map the model's nodes to menu items. 122 // forcing a rebuild, map the model's nodes to menu items.
123 std::map<const BookmarkNode*, GtkWidget*> bookmark_nodes_; 123 std::map<const BookmarkNode*, GtkWidget*> bookmark_nodes_;
124 }; 124 };
125 125
126 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_ 126 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_BOOKMARK_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/find_bar_gtk.h ('k') | chrome/browser/ui/gtk/global_history_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698