summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 00:33:51 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 00:33:51 +0000
commit7cbd7b03328992736846cef48c049563827dcbb3 (patch)
tree9a4fd40b7fe72d3d53954470b1030468d6e1078c /webkit/tools
parentb53c15cd233aa4e86c192532f3b0f00426292594 (diff)
downloadchromium_src-7cbd7b03328992736846cef48c049563827dcbb3.zip
chromium_src-7cbd7b03328992736846cef48c049563827dcbb3.tar.gz
chromium_src-7cbd7b03328992736846cef48c049563827dcbb3.tar.bz2
Cleanup: Remove unneeded forward declarations in webkit/.
BUG=none TEST=none TBR=OWNERS Review URL: http://codereview.chromium.org/8539001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/simple_resource_loader_bridge.h1
-rw-r--r--webkit/tools/test_shell/test_shell_devtools_agent.h11
-rw-r--r--webkit/tools/test_shell/test_shell_devtools_client.h10
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.h5
4 files changed, 12 insertions, 15 deletions
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.h b/webkit/tools/test_shell/simple_resource_loader_bridge.h
index ba00544..71f9ce5 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.h
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.h
@@ -11,7 +11,6 @@
class FilePath;
class GURL;
-class TestShellRequestContext;
class SimpleResourceLoaderBridge {
public:
diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.h b/webkit/tools/test_shell/test_shell_devtools_agent.h
index 9258442..d8fbea1 100644
--- a/webkit/tools/test_shell/test_shell_devtools_agent.h
+++ b/webkit/tools/test_shell/test_shell_devtools_agent.h
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TEST_SHELL_DEVTOOLS_AGENT_H_
-#define TEST_SHELL_DEVTOOLS_AGENT_H_
+#ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
+#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
+
+#include <string>
#include "base/memory/weak_ptr.h"
#include "base/task.h"
@@ -14,9 +16,8 @@ namespace WebKit {
class WebDevToolsAgent;
class WebView;
-struct WebDevToolsMessageData;
-} // namespace WebKit
+} // namespace WebKit
class TestShellDevToolsCallArgs;
class TestShellDevToolsClient;
@@ -61,4 +62,4 @@ class TestShellDevToolsAgent : public WebKit::WebDevToolsAgentClient {
DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsAgent);
};
-#endif // TEST_SHELL_DEVTOOLS_AGENT_H_
+#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
diff --git a/webkit/tools/test_shell/test_shell_devtools_client.h b/webkit/tools/test_shell/test_shell_devtools_client.h
index b9ef290..a408828 100644
--- a/webkit/tools/test_shell/test_shell_devtools_client.h
+++ b/webkit/tools/test_shell/test_shell_devtools_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TEST_SHELL_DEVTOOLS_CLIENT_H_
-#define TEST_SHELL_DEVTOOLS_CLIENT_H_
+#ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
+#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -14,15 +14,13 @@
namespace WebKit {
class WebDevToolsFrontend;
-struct WebDevToolsMessageData;
-} // namespace WebKit
+} // namespace WebKit
class TestShellDevToolsCallArgs;
class TestShellDevToolsAgent;
class TestShellDevToolsClient: public WebKit::WebDevToolsFrontendClient {
-
public:
TestShellDevToolsClient(TestShellDevToolsAgent* agent,
WebKit::WebView* web_view);
@@ -53,4 +51,4 @@ class TestShellDevToolsClient: public WebKit::WebDevToolsFrontendClient {
DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsClient);
};
-#endif // TEST_SHELL_DEVTOOLS_CLIENT_H_
+#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index afad34c..67036bd 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -12,6 +12,7 @@
#include <map>
#include <set>
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
@@ -44,7 +45,6 @@
struct WebPreferences;
class GURL;
-class TestGeolocationService;
class TestShell;
class WebWidgetHost;
@@ -250,7 +250,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
virtual void DidStopLoadingForPlugin() OVERRIDE {}
virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE;
- TestWebViewDelegate(TestShell* shell);
+ explicit TestWebViewDelegate(TestShell* shell);
virtual ~TestWebViewDelegate();
void Reset();
@@ -329,7 +329,6 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
}
private:
-
// Called the title of the page changes.
// Can be used to update the title of the window.
void SetPageTitle(const string16& title);