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_VIEW_CONTEXT_MENU_BASE_H_ | 5 #ifndef COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ |
6 #define COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ | 6 #define COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
| 13 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
13 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
14 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
15 #include "components/renderer_context_menu/context_menu_content_type.h" | 18 #include "components/renderer_context_menu/context_menu_content_type.h" |
16 #include "components/renderer_context_menu/render_view_context_menu_observer.h" | 19 #include "components/renderer_context_menu/render_view_context_menu_observer.h" |
17 #include "components/renderer_context_menu/render_view_context_menu_proxy.h" | 20 #include "components/renderer_context_menu/render_view_context_menu_proxy.h" |
18 #include "content/public/common/context_menu_params.h" | 21 #include "content/public/common/context_menu_params.h" |
19 #include "ui/base/models/simple_menu_model.h" | 22 #include "ui/base/models/simple_menu_model.h" |
20 #include "ui/base/page_transition_types.h" | 23 #include "ui/base/page_transition_types.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 const int render_process_id_; | 197 const int render_process_id_; |
195 | 198 |
196 scoped_ptr<ToolkitDelegate> toolkit_delegate_; | 199 scoped_ptr<ToolkitDelegate> toolkit_delegate_; |
197 | 200 |
198 ScopedVector<ui::SimpleMenuModel> custom_submenus_; | 201 ScopedVector<ui::SimpleMenuModel> custom_submenus_; |
199 | 202 |
200 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuBase); | 203 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuBase); |
201 }; | 204 }; |
202 | 205 |
203 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ | 206 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ |
OLD | NEW |