OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ | 5 #ifndef COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ |
6 #define COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ | 6 #define COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/renderer_context_menu/render_view_context_menu_base.h" | 9 #include "components/renderer_context_menu/render_view_context_menu_base.h" |
9 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
10 | 11 |
11 namespace gfx { | 12 namespace gfx { |
12 class Point; | 13 class Point; |
13 } | 14 } |
14 | 15 |
15 namespace views { | 16 namespace views { |
16 class MenuItemView; | 17 class MenuItemView; |
17 class MenuModelAdapter; | 18 class MenuModelAdapter; |
(...skipping 26 matching lines...) Expand all Loading... |
44 scoped_ptr<views::MenuModelAdapter> menu_adapter_; | 45 scoped_ptr<views::MenuModelAdapter> menu_adapter_; |
45 scoped_ptr<views::MenuRunner> menu_runner_; | 46 scoped_ptr<views::MenuRunner> menu_runner_; |
46 | 47 |
47 // Weak. Owned by menu_runner_; | 48 // Weak. Owned by menu_runner_; |
48 views::MenuItemView* menu_view_; | 49 views::MenuItemView* menu_view_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(ToolkitDelegateViews); | 51 DISALLOW_COPY_AND_ASSIGN(ToolkitDelegateViews); |
51 }; | 52 }; |
52 | 53 |
53 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ | 54 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_TOOLKIT_DELEGATE_VIEWS_H_ |
OLD | NEW |