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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/bookmark_editor_gtk.h ('k') | chrome/browser/ui/gtk/bookmark_utils_gtk.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_BOOKMARK_MENU_CONTROLLER_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "app/gtk_integers.h"
12 #include "app/gtk_signal.h"
13 #include "app/gtk_signal_registrar.h"
14 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
15 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
16 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" 13 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h"
17 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" 14 #include "chrome/browser/ui/gtk/owned_widget_gtk.h"
15 #include "ui/base/gtk/gtk_integers.h"
16 #include "ui/base/gtk/gtk_signal.h"
17 #include "ui/base/gtk/gtk_signal_registrar.h"
18 #include "webkit/glue/window_open_disposition.h" 18 #include "webkit/glue/window_open_disposition.h"
19 19
20 class Browser; 20 class Browser;
21 class Profile; 21 class Profile;
22 class Profiler; 22 class Profiler;
23 class PageNavigator; 23 class PageNavigator;
24 class BookmarkModel; 24 class BookmarkModel;
25 class BookmarkNode; 25 class BookmarkNode;
26 class MenuGtk; 26 class MenuGtk;
27 27
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 GtkWidget* triggering_widget_; 130 GtkWidget* triggering_widget_;
131 131
132 // Mapping from node to GtkMenuItem menu id. This only contains entries for 132 // Mapping from node to GtkMenuItem menu id. This only contains entries for
133 // nodes of type URL. 133 // nodes of type URL.
134 std::map<const BookmarkNode*, GtkWidget*> node_to_menu_widget_map_; 134 std::map<const BookmarkNode*, GtkWidget*> node_to_menu_widget_map_;
135 135
136 // The controller and view for the right click context menu. 136 // The controller and view for the right click context menu.
137 scoped_ptr<BookmarkContextMenuController> context_menu_controller_; 137 scoped_ptr<BookmarkContextMenuController> context_menu_controller_;
138 scoped_ptr<MenuGtk> context_menu_; 138 scoped_ptr<MenuGtk> context_menu_;
139 139
140 GtkSignalRegistrar signals_; 140 ui::GtkSignalRegistrar signals_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); 142 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController);
143 }; 143 };
144 144
145 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_ 145 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_MENU_CONTROLLER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_editor_gtk.h ('k') | chrome/browser/ui/gtk/bookmark_utils_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698