Index: webkit/tools/test_shell/gtk/webview_host.cc |
diff --git a/webkit/tools/test_shell/gtk/webview_host.cc b/webkit/tools/test_shell/gtk/webview_host.cc |
deleted file mode 100644 |
index 1f95274f6953a8517700b7255c122338d025b6e6..0000000000000000000000000000000000000000 |
--- a/webkit/tools/test_shell/gtk/webview_host.cc |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-// Copyright (c) 2006-2008 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. |
- |
-#include <gtk/gtk.h> |
- |
-#include "webkit/tools/test_shell/webview_host.h" |
- |
-#include "base/gfx/platform_canvas.h" |
-#include "base/gfx/rect.h" |
-#include "base/gfx/size.h" |
-#include "base/logging.h" |
-#include "webkit/glue/webinputevent.h" |
-#include "webkit/glue/webview.h" |
- |
-/*static*/ |
-WebViewHost* WebViewHost::Create(GtkWidget* box, |
- WebViewDelegate* delegate, |
- const WebPreferences& prefs) { |
- WebViewHost* host = new WebViewHost(); |
- |
- host->view_ = WebWidgetHost::CreateWindow(box, host); |
- g_object_set_data(G_OBJECT(host->view_), "webwidgethost", host); |
- |
- host->webwidget_ = WebView::Create(delegate, prefs); |
- host->webwidget_->Layout(); |
- |
- return host; |
-} |
- |
-WebView* WebViewHost::webview() const { |
- return static_cast<WebView*>(webwidget_); |
-} |