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_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> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 private: | 79 private: |
80 static bool IsDevToolsURL(const GURL& url); | 80 static bool IsDevToolsURL(const GURL& url); |
81 static bool IsInternalResourcesURL(const GURL& url); | 81 static bool IsInternalResourcesURL(const GURL& url); |
82 bool AppendCustomItems(); | 82 bool AppendCustomItems(); |
83 void AppendDeveloperItems(); | 83 void AppendDeveloperItems(); |
84 void AppendLinkItems(); | 84 void AppendLinkItems(); |
85 void AppendImageItems(); | 85 void AppendImageItems(); |
86 void AppendAudioItems(); | 86 void AppendAudioItems(); |
87 void AppendVideoItems(); | 87 void AppendVideoItems(); |
| 88 void AppendFileItems(); |
88 void AppendMediaItems(); | 89 void AppendMediaItems(); |
89 void AppendPluginItems(); | 90 void AppendPluginItems(); |
90 void AppendPageItems(); | 91 void AppendPageItems(); |
91 void AppendFrameItems(); | 92 void AppendFrameItems(); |
92 void AppendCopyItem(); | 93 void AppendCopyItem(); |
93 void AppendEditableItems(); | 94 void AppendEditableItems(); |
94 void AppendSearchProvider(); | 95 void AppendSearchProvider(); |
95 void AppendAllExtensionItems(); | 96 void AppendAllExtensionItems(); |
96 void AppendSpellcheckOptionsSubMenu(); | 97 void AppendSpellcheckOptionsSubMenu(); |
97 // Add writing direction sub menu (only used on Mac). | 98 // Add writing direction sub menu (only used on Mac). |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 GURL selection_navigation_url_; | 141 GURL selection_navigation_url_; |
141 | 142 |
142 ui::SimpleMenuModel spellcheck_submenu_model_; | 143 ui::SimpleMenuModel spellcheck_submenu_model_; |
143 ui::SimpleMenuModel bidi_submenu_model_; | 144 ui::SimpleMenuModel bidi_submenu_model_; |
144 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; | 145 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; |
145 | 146 |
146 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 147 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
147 }; | 148 }; |
148 | 149 |
149 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 150 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |