OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 void AppendDeveloperItems(); | 211 void AppendDeveloperItems(); |
212 void AppendLinkItems(); | 212 void AppendLinkItems(); |
213 void AppendImageItems(); | 213 void AppendImageItems(); |
214 void AppendAudioItems(); | 214 void AppendAudioItems(); |
215 void AppendVideoItems(); | 215 void AppendVideoItems(); |
216 void AppendMediaItems(); | 216 void AppendMediaItems(); |
217 void AppendPluginItems(); | 217 void AppendPluginItems(); |
218 void AppendPageItems(); | 218 void AppendPageItems(); |
219 void AppendFrameItems(); | 219 void AppendFrameItems(); |
220 void AppendCopyItem(); | 220 void AppendCopyItem(); |
| 221 void AppendPrintItem(); |
221 void AppendEditableItems(); | 222 void AppendEditableItems(); |
222 void AppendSearchProvider(); | 223 void AppendSearchProvider(); |
223 void AppendAllExtensionItems(); | 224 void AppendAllExtensionItems(); |
224 void AppendSpellingSuggestionsSubMenu(); | 225 void AppendSpellingSuggestionsSubMenu(); |
225 void AppendSpellcheckOptionsSubMenu(); | 226 void AppendSpellcheckOptionsSubMenu(); |
226 void AppendSpeechInputOptionsSubMenu(); | 227 void AppendSpeechInputOptionsSubMenu(); |
227 void AppendProtocolHandlerSubMenu(); | 228 void AppendProtocolHandlerSubMenu(); |
228 | 229 |
229 // Opens the specified URL string in a new tab. The |frame_id| specifies the | 230 // Opens the specified URL string in a new tab. The |frame_id| specifies the |
230 // frame in which the context menu was displayed, or 0 if the menu action is | 231 // frame in which the context menu was displayed, or 0 if the menu action is |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 // An observer that disables menu items when print preview is active. | 276 // An observer that disables menu items when print preview is active. |
276 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; | 277 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; |
277 | 278 |
278 // Our observers. | 279 // Our observers. |
279 mutable ObserverList<RenderViewContextMenuObserver> observers_; | 280 mutable ObserverList<RenderViewContextMenuObserver> observers_; |
280 | 281 |
281 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 282 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
282 }; | 283 }; |
283 | 284 |
284 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 285 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |