diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 20:27:26 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 20:27:26 +0000 |
commit | 7284c6508f840128a86ebed19423157a10e7ed41 (patch) | |
tree | 2fc3766a295c258ef4360a26a7864c066596928c /webkit | |
parent | 90a91a8556fbf6d6d1d7f6e71ff0e4ddd6d708dd (diff) | |
download | chromium_src-7284c6508f840128a86ebed19423157a10e7ed41.zip chromium_src-7284c6508f840128a86ebed19423157a10e7ed41.tar.gz chromium_src-7284c6508f840128a86ebed19423157a10e7ed41.tar.bz2 |
fill in a missing routine for MacOS
Review URL: http://codereview.chromium.org/1673
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/context_menu_client_impl.cc | 5 | ||||
-rw-r--r-- | webkit/glue/context_menu_client_impl.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/webkit/glue/context_menu_client_impl.cc b/webkit/glue/context_menu_client_impl.cc index 9495cd4..03e32f5 100644 --- a/webkit/glue/context_menu_client_impl.cc +++ b/webkit/glue/context_menu_client_impl.cc @@ -254,3 +254,8 @@ bool ContextMenuClientImpl::shouldIncludeInspectElementItem() { return false; // TODO(jackson): Eventually include the inspector context menu item } +#if defined(OS_MACOSX) +void ContextMenuClientImpl::searchWithSpotlight() { + // TODO(pinkerton): write this +} +#endif diff --git a/webkit/glue/context_menu_client_impl.h b/webkit/glue/context_menu_client_impl.h index a58b9d5..ec6d49a 100644 --- a/webkit/glue/context_menu_client_impl.h +++ b/webkit/glue/context_menu_client_impl.h @@ -5,6 +5,8 @@ #ifndef WEBKIT_GLUE_CONTEXT_MENU_CLIENT_IMPL_H__ #define WEBKIT_GLUE_CONTEXT_MENU_CLIENT_IMPL_H__ +#include "build/build_config.h" + #pragma warning(push, 0) #include "ContextMenuClient.h" #pragma warning(pop) @@ -33,6 +35,9 @@ public: virtual void stopSpeaking(); virtual bool shouldIncludeInspectElementItem(); +#if defined(OS_MACOSX) + virtual void searchWithSpotlight(); +#endif private: WebViewImpl* webview_; // weak pointer }; |