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

Unified Diff: webkit/tools/test_shell/webview_host.h

Issue 15028002: Delete test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy test_shell build target. Created 7 years, 7 months 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
Index: webkit/tools/test_shell/webview_host.h
diff --git a/webkit/tools/test_shell/webview_host.h b/webkit/tools/test_shell/webview_host.h
deleted file mode 100644
index 5f43a1ca4a7a44a89234580726d0e624e980fe9d..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/webview_host.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2012 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_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_
-#define WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_
-
-#include "base/basictypes.h"
-#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/rect.h"
-#include "webkit/tools/test_shell/webwidget_host.h"
-
-#if defined(TOOLKIT_GTK)
-#include "webkit/plugins/npapi/gtk_plugin_container_manager.h"
-#endif
-
-class TestWebViewDelegate;
-struct WebPreferences;
-
-namespace WebKit {
-class WebDevToolsAgentClient;
-class WebView;
-}
-
-// This class is a simple NativeView-based host for a WebView
-class WebViewHost : public WebWidgetHost {
- public:
- // The new instance is deleted once the associated NativeView is destroyed.
- // The newly created window should be resized after it is created, using the
- // MoveWindow (or equivalent) function.
- static WebViewHost* Create(gfx::NativeView parent_view,
- TestWebViewDelegate* delegate,
- WebKit::WebDevToolsAgentClient* devtools_client,
- const WebPreferences& prefs);
-
- WebKit::WebView* webview() const;
-
-#if defined(TOOLKIT_GTK)
- // Create a new plugin parent container for a given plugin XID.
- void CreatePluginContainer(gfx::PluginWindowHandle id);
-
- // Destroy the plugin parent container when a plugin has been destroyed.
- void DestroyPluginContainer(gfx::PluginWindowHandle id);
-
- webkit::npapi::GtkPluginContainerManager* plugin_container_manager() {
- return &plugin_container_manager_;
- }
-#elif defined(OS_MACOSX)
- void SetIsActive(bool active);
-#endif
-
- protected:
-#if defined(OS_WIN)
- virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam) {
- return false;
- }
-#endif
-
-#if defined(TOOLKIT_GTK)
- // Helper class that creates and moves plugin containers.
- webkit::npapi::GtkPluginContainerManager plugin_container_manager_;
-#endif
-};
-
-#endif // WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698