| OLD | NEW |
| 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_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
| 13 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" | 13 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" |
| 14 #include "ui/base/glib/glib_integers.h" | 14 #include "ui/base/glib/glib_integers.h" |
| 15 #include "ui/base/gtk/gtk_signal.h" | 15 #include "ui/base/gtk/gtk_signal.h" |
| 16 #include "ui/base/gtk/gtk_signal_registrar.h" | 16 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 17 #include "ui/base/gtk/owned_widget_gtk.h" | 17 #include "ui/base/gtk/owned_widget_gtk.h" |
| 18 #include "webkit/glue/window_open_disposition.h" | 18 #include "webkit/glue/window_open_disposition.h" |
| 19 | 19 |
| 20 class Profile; | 20 class Profile; |
| 21 class Profiler; | |
| 22 class PageNavigator; | 21 class PageNavigator; |
| 23 class BookmarkModel; | 22 class BookmarkModel; |
| 24 class BookmarkNode; | 23 class BookmarkNode; |
| 25 class MenuGtk; | 24 class MenuGtk; |
| 26 | 25 |
| 27 typedef struct _GdkDragContext GdkDragContext; | 26 typedef struct _GdkDragContext GdkDragContext; |
| 28 typedef struct _GdkEventButton GdkEventButton; | 27 typedef struct _GdkEventButton GdkEventButton; |
| 29 typedef struct _GtkSelectionData GtkSelectionData; | 28 typedef struct _GtkSelectionData GtkSelectionData; |
| 30 typedef struct _GtkWidget GtkWidget; | 29 typedef struct _GtkWidget GtkWidget; |
| 31 | 30 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // The controller and view for the right click context menu. | 132 // The controller and view for the right click context menu. |
| 134 scoped_ptr<BookmarkContextMenuController> context_menu_controller_; | 133 scoped_ptr<BookmarkContextMenuController> context_menu_controller_; |
| 135 scoped_ptr<MenuGtk> context_menu_; | 134 scoped_ptr<MenuGtk> context_menu_; |
| 136 | 135 |
| 137 ui::GtkSignalRegistrar signals_; | 136 ui::GtkSignalRegistrar signals_; |
| 138 | 137 |
| 139 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); | 138 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ | 141 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_GTK_H_ |
| OLD | NEW |