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 CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "base/scoped_vector.h" | 14 #include "base/scoped_vector.h" |
15 #include "chrome/common/page_transition_types.h" | |
16 #include "chrome/browser/extensions/extension_menu_manager.h" | 15 #include "chrome/browser/extensions/extension_menu_manager.h" |
| 16 #include "content/common/page_transition_types.h" |
17 #include "ui/base/models/simple_menu_model.h" | 17 #include "ui/base/models/simple_menu_model.h" |
18 #include "webkit/glue/context_menu.h" | 18 #include "webkit/glue/context_menu.h" |
19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
20 | 20 |
21 class ExtensionMenuItem; | 21 class ExtensionMenuItem; |
22 class Profile; | 22 class Profile; |
23 class TabContents; | 23 class TabContents; |
24 | 24 |
25 namespace gfx { | 25 namespace gfx { |
26 class Point; | 26 class Point; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 GURL selection_navigation_url_; | 140 GURL selection_navigation_url_; |
141 | 141 |
142 ui::SimpleMenuModel spellcheck_submenu_model_; | 142 ui::SimpleMenuModel spellcheck_submenu_model_; |
143 ui::SimpleMenuModel bidi_submenu_model_; | 143 ui::SimpleMenuModel bidi_submenu_model_; |
144 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; | 144 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; |
145 | 145 |
146 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 146 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
147 }; | 147 }; |
148 | 148 |
149 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 149 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |