summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsfrontend_impl.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 16:35:32 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 16:35:32 +0000
commitd82be9ad77334a5076f7f7624fceaae3fbb1d250 (patch)
treecb0b25a904c41a1bede969a954e685254f2bea44 /webkit/glue/webdevtoolsfrontend_impl.h
parent9da5f162d462607fc2e13bc5c3674729840074d4 (diff)
downloadchromium_src-d82be9ad77334a5076f7f7624fceaae3fbb1d250.zip
chromium_src-d82be9ad77334a5076f7f7624fceaae3fbb1d250.tar.gz
chromium_src-d82be9ad77334a5076f7f7624fceaae3fbb1d250.tar.bz2
DevTools: comment menu-related code out while landing breaking changes upstream.
Review URL: http://codereview.chromium.org/490017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsfrontend_impl.h')
-rw-r--r--webkit/glue/webdevtoolsfrontend_impl.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/webkit/glue/webdevtoolsfrontend_impl.h b/webkit/glue/webdevtoolsfrontend_impl.h
index e60e7d5..611553c 100644
--- a/webkit/glue/webdevtoolsfrontend_impl.h
+++ b/webkit/glue/webdevtoolsfrontend_impl.h
@@ -7,8 +7,6 @@
#include <string>
-#include "ContextMenuSelectionHandler.h"
-
#include <wtf/HashMap.h>
#include <wtf/Noncopyable.h>
#include <wtf/OwnPtr.h>
@@ -60,7 +58,8 @@ class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend,
const WebKit::WebDevToolsMessageData& data);
private:
- class MenuSelectionHandler : public WebCore::ContextMenuSelectionHandler {
+/* Uncomment once breaking API changes upstream land.
+ class MenuSelectionHandler : public WebCore::ContextMenuSelectionHandler {
public:
static PassRefPtr<MenuSelectionHandler> create(
WebDevToolsFrontendImpl* frontend_host) {
@@ -86,7 +85,7 @@ class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend,
: frontend_host_(frontend_host) {}
WebDevToolsFrontendImpl* frontend_host_;
};
-
+*/
void AddResourceSourceToFrame(int resource_id,
String mime_type,
WebCore::Node* frame);
@@ -94,7 +93,7 @@ class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend,
void ExecuteScript(const Vector<String>& v);
void DispatchOnWebInspector(const String& method, const String& param);
- friend class MenuSelectionHandler;
+ // friend class MenuSelectionHandler;
void ContextMenuItemSelected(WebCore::ContextMenuItem* menu_item);
void ContextMenuCleared();
@@ -136,7 +135,7 @@ class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend,
bool loaded_;
Vector<Vector<String> > pending_incoming_messages_;
OwnPtr<ToolsAgentNativeDelegateImpl> tools_agent_native_delegate_impl_;
- RefPtr<MenuSelectionHandler> menu_selection_handler_;
+// RefPtr<MenuSelectionHandler> menu_selection_handler_;
};
#endif // WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_