OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ | 5 #ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ |
6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ | 6 #define VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/gtk_signal.h" | |
14 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
15 #include "base/task.h" | 14 #include "base/task.h" |
| 15 #include "ui/base/gtk/gtk_signal.h" |
16 #include "views/controls/menu/menu_wrapper.h" | 16 #include "views/controls/menu/menu_wrapper.h" |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 class MenuModel; | 19 class MenuModel; |
20 } | 20 } |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 | 23 |
24 class NestedDispatcherGtk; | 24 class NestedDispatcherGtk; |
25 | 25 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // A flag used to detect a button release event without button press or move. | 149 // A flag used to detect a button release event without button press or move. |
150 // see http://crosbug.com/8718. | 150 // see http://crosbug.com/8718. |
151 bool ignore_button_release_; | 151 bool ignore_button_release_; |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(NativeMenuGtk); | 153 DISALLOW_COPY_AND_ASSIGN(NativeMenuGtk); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace views | 156 } // namespace views |
157 | 157 |
158 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ | 158 #endif // VIEWS_CONTROLS_MENU_NATIVE_MENU_GTK_H_ |
OLD | NEW |