Chromium Code Reviews| Index: chrome/renderer/render_view.h |
| =================================================================== |
| --- chrome/renderer/render_view.h (revision 67601) |
| +++ chrome/renderer/render_view.h (working copy) |
| @@ -55,6 +55,7 @@ |
| class AudioMessageFilter; |
| class AutoFillHelper; |
| +class CustomMenuListener; |
| class DictionaryValue; |
| class DeviceOrientationDispatcher; |
| class DevToolsAgent; |
| @@ -337,6 +338,11 @@ |
| // only by gears and this function can be deleted when we remove gears. |
| uint32 GetCPBrowsingContext(); |
| + // Handles registering and deregistering customer handlers for custom |
| + // context menu events. |
|
brettw
2010/12/08 07:20:13
Can you add a quick extra sentence here about how
Chris Evans
2010/12/08 16:33:52
Done.
|
| + void CustomMenuListenerInstall(CustomMenuListener* listening); |
| + void CustomMenuListenerDestroyed(CustomMenuListener* dead); |
| + |
| #if defined(OS_MACOSX) |
| // Enables/disabled plugin IME for the given plugin. |
| void SetPluginImeEnabled(bool enabled, int plugin_id); |
| @@ -1465,6 +1471,9 @@ |
| // The external popup for the currently showing select popup. |
| scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
| + // The custom menu event listener, if any. |
| + CustomMenuListener* custom_menu_listener_; |
| + |
| // --------------------------------------------------------------------------- |
| // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| // sections rather than throwing it randomly at the end. If you're adding a |