summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 15:01:45 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 15:01:45 +0000
commitb70a6300d843c28a32db431f16ded32c65d01b05 (patch)
tree0a1fe2f1bf493e0cba27e189ffc55db454d07317 /webkit
parent48764c72b775bdc62aa43eedaea00ca01597e9ff (diff)
downloadchromium_src-b70a6300d843c28a32db431f16ded32c65d01b05.zip
chromium_src-b70a6300d843c28a32db431f16ded32c65d01b05.tar.gz
chromium_src-b70a6300d843c28a32db431f16ded32c65d01b05.tar.bz2
Reverting 9855.
This change didn't have any description and it broke the tree Review URL: http://codereview.chromium.org/21393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/glue.vcproj4
-rw-r--r--webkit/glue/tools_proxy.h74
-rw-r--r--webkit/glue/webview.h5
-rw-r--r--webkit/glue/webview_impl.cc5
-rw-r--r--webkit/glue/webview_impl.h2
5 files changed, 0 insertions, 90 deletions
diff --git a/webkit/glue/glue.vcproj b/webkit/glue/glue.vcproj
index 1f7e9d7..acaad6f 100644
--- a/webkit/glue/glue.vcproj
+++ b/webkit/glue/glue.vcproj
@@ -173,10 +173,6 @@
>
</File>
<File
- RelativePath=".\tools_proxy.h"
- >
- </File>
- <File
RelativePath=".\webdatasource.h"
>
</File>
diff --git a/webkit/glue/tools_proxy.h b/webkit/glue/tools_proxy.h
deleted file mode 100644
index 88f3ff7..0000000
--- a/webkit/glue/tools_proxy.h
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 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.
-
-// Developer tools consist of following parts:
-//
-// ToolsAgent lives in the renderer of an inspected page and provides access to
-// the pages resources, DOM, v8 etc. by means of IPC messages.
-//
-// ToolsClient is a thin delegate that lives in the tools front-end renderer and
-// converts IPC messages to frontend methods calls and allows the frontend to
-// send messages to the ToolsAgent.
-//
-// All the messages are routed through browser process.
-//
-// Chain of communication between the components may be described by the
-// following diagram:
-// --------------------------
-// | (tools frontend |
-// | renderer process) |
-// | | --------------------
-// |tools <--> ToolsClient+<-- IPC -->+ (browser process) |
-// |frontend | | |
-// -------------------------- -----------+--------
-// ^
-// |
-// IPC
-// |
-// v
-// --------------------------+-------
-// | inspected page <--> ToolsAgent |
-// | |
-// | (inspected page renderer process)|
-// ----------------------------------
-//
-// This file describes interface between tools frontend and ToolsClient in the
-// above diagram.
-
-#ifndef WEBKIT_GLUE_TOOLS_PROXY_H_
-#define WEBKIT_GLUE_TOOLS_PROXY_H_
-
-#include "base/basictypes.h"
-
-class ToolsUI;
-
-// Interface for sending messages to remote ToolsAgent.
-class ToolsProxy {
- public:
- ToolsProxy() {}
- virtual ~ToolsProxy() {}
-
- virtual void SetToolsUI(ToolsUI*) = 0;
-
- virtual void DebugAttach() = 0;
- virtual void DebugDetach() = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ToolsProxy);
-};
-
-
-// Interface for accessing tools frontend.
-class ToolsUI {
- public:
- ToolsUI() {}
- virtual ~ToolsUI() {}
-
- virtual void OnDidDebugAttach() = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ToolsUI);
-};
-
-#endif // WEBKIT_GLUE_TOOLS_PROXY_H_
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h
index 3db4f9f..39d608c 100644
--- a/webkit/glue/webview.h
+++ b/webkit/glue/webview.h
@@ -12,7 +12,6 @@
#include "base/ref_counted.h"
#include "webkit/glue/webwidget.h"
-class ToolsProxy;
struct WebDropData;
struct WebPreferences;
class GURL;
@@ -166,10 +165,6 @@ class WebView : public WebWidget {
// Show the JavaScript console.
virtual void ShowJavaScriptConsole() = 0;
- // Set up developer tools UI bindings. It is guaranteed that tools_proxy will
- // overlive this webview.
- virtual void SetUpToolsProxy(ToolsProxy* tools_proxy) = 0;
-
// Notifies the webview that a drag has terminated.
virtual void DragSourceEndedAt(
int client_x, int client_y, int screen_x, int screen_y) = 0;
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index a694010..0259b72 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -1426,11 +1426,6 @@ void WebViewImpl::ShowJavaScriptConsole() {
page_->inspectorController()->showPanel(InspectorController::ConsolePanel);
}
-void WebViewImpl::SetUpToolsProxy(ToolsProxy* tools_proxy) {
- DCHECK(page_ != NULL);
- // TODO(yurys): implement
-}
-
void WebViewImpl::DragSourceEndedAt(
int client_x, int client_y, int screen_x, int screen_y) {
PlatformMouseEvent pme(IntPoint(client_x, client_y),
diff --git a/webkit/glue/webview_impl.h b/webkit/glue/webview_impl.h
index ed0dbce..c511e7b 100644
--- a/webkit/glue/webview_impl.h
+++ b/webkit/glue/webview_impl.h
@@ -37,7 +37,6 @@ class Widget;
class AutocompletePopupMenuClient;
class ImageResourceFetcher;
class SearchableFormData;
-class ToolsProxy;
struct WebDropData;
class WebHistoryItemImpl;
class WebKeyboardEvent;
@@ -90,7 +89,6 @@ class WebViewImpl : public WebView, public base::RefCounted<WebViewImpl> {
virtual void CopyImageAt(int x, int y);
virtual void InspectElement(int x, int y);
virtual void ShowJavaScriptConsole();
- virtual void SetUpToolsProxy(ToolsProxy* tools_proxy);
virtual void DragSourceEndedAt(
int client_x, int client_y, int screen_x, int screen_y);
virtual void DragSourceMovedTo(