Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: webkit/tools/test_shell/gtk/webview_host.cc

Issue 11463: rename gtk test shell files (Closed)
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/SConscript ('k') | webkit/tools/test_shell/gtk/webwidget_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
-}
« no previous file with comments | « webkit/tools/test_shell/SConscript ('k') | webkit/tools/test_shell/gtk/webwidget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698