summaryrefslogtreecommitdiffstats
path: root/webkit/glue/context_menu_client_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/context_menu_client_impl.h')
-rw-r--r--webkit/glue/context_menu_client_impl.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/webkit/glue/context_menu_client_impl.h b/webkit/glue/context_menu_client_impl.h
deleted file mode 100644
index 00d373b..0000000
--- a/webkit/glue/context_menu_client_impl.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_GLUE_CONTEXT_MENU_CLIENT_IMPL_H_
-#define WEBKIT_GLUE_CONTEXT_MENU_CLIENT_IMPL_H_
-
-#include "ContextMenuClient.h"
-
-class WebViewImpl;
-
-// Handles window-level notifications from WebCore on behalf of a WebView.
-class ContextMenuClientImpl : public WebCore::ContextMenuClient {
- public:
- ContextMenuClientImpl(WebViewImpl* webview) : webview_(webview) {
- }
-
- virtual ~ContextMenuClientImpl();
- virtual void contextMenuDestroyed();
-
- virtual WebCore::PlatformMenuDescription getCustomMenuFromDefaultItems(
- WebCore::ContextMenu*);
- virtual void contextMenuItemSelected(WebCore::ContextMenuItem*,
- const WebCore::ContextMenu*);
-
- virtual void downloadURL(const WebCore::KURL&);
- virtual void copyImageToClipboard(const WebCore::HitTestResult&);
- virtual void searchWithGoogle(const WebCore::Frame*);
- virtual void lookUpInDictionary(WebCore::Frame*);
- virtual void speak(const WebCore::String&);
- virtual bool isSpeaking();
- virtual void stopSpeaking();
- virtual bool shouldIncludeInspectElementItem();
-
- private:
- WebViewImpl* webview_; // weak pointer
-};
-
-#endif // WEBKIT_GLUE_CONTEXT_MENU_CLIENT_IMPL_H_