| 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 CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 // Gets the extension (if any) associated with the WebContents that we're in. | 205 // Gets the extension (if any) associated with the WebContents that we're in. |
| 206 const extensions::Extension* GetExtension() const; | 206 const extensions::Extension* GetExtension() const; |
| 207 bool AppendCustomItems(); | 207 bool AppendCustomItems(); |
| 208 | 208 |
| 209 void AppendDeveloperItems(); | 209 void AppendDeveloperItems(); |
| 210 void AppendDevtoolsForUnpackedExtensions(); | 210 void AppendDevtoolsForUnpackedExtensions(); |
| 211 void AppendLinkItems(); | 211 void AppendLinkItems(); |
| 212 void AppendImageItems(); | 212 void AppendImageItems(); |
| 213 void AppendAudioItems(); | 213 void AppendAudioItems(); |
| 214 void AppendCanvasItems(); |
| 214 void AppendVideoItems(); | 215 void AppendVideoItems(); |
| 215 void AppendMediaItems(); | 216 void AppendMediaItems(); |
| 216 void AppendPluginItems(); | 217 void AppendPluginItems(); |
| 217 void AppendPageItems(); | 218 void AppendPageItems(); |
| 218 void AppendFrameItems(); | 219 void AppendFrameItems(); |
| 219 void AppendCopyItem(); | 220 void AppendCopyItem(); |
| 220 void AppendPrintItem(); | 221 void AppendPrintItem(); |
| 221 void AppendEditableItems(); | 222 void AppendEditableItems(); |
| 222 void AppendSearchProvider(); | 223 void AppendSearchProvider(); |
| 223 void AppendAllExtensionItems(); | 224 void AppendAllExtensionItems(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // Whether a command has been executed. Used to track whether menu observers | 287 // Whether a command has been executed. Used to track whether menu observers |
| 287 // should be notified of menu closing without execution. | 288 // should be notified of menu closing without execution. |
| 288 bool command_executed_; | 289 bool command_executed_; |
| 289 | 290 |
| 290 scoped_ptr<ContextMenuContentType> content_type_; | 291 scoped_ptr<ContextMenuContentType> content_type_; |
| 291 | 292 |
| 292 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 293 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
| 293 }; | 294 }; |
| 294 | 295 |
| 295 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ | 296 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ |
| OLD | NEW |