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

Unified Diff: webkit/tools/test_shell/test_shell_webkit_init.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/test_shell_webkit_init.h
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.h b/webkit/tools/test_shell/test_shell_webkit_init.h
deleted file mode 100644
index 0204f2f9cb01e66fb0a805ca740183d2d4216aa7..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/test_shell_webkit_init.h
+++ /dev/null
@@ -1,123 +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_TEST_SHELL_WEBKIT_INIT_H_
-#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
-
-#include "base/compiler_specific.h"
-#include "base/utf_string_conversions.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebIDBFactory.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebStorageNamespace.h"
-#include "webkit/glue/webclipboard_impl.h"
-#include "webkit/glue/webfileutilities_impl.h"
-#include "webkit/glue/webkit_glue.h"
-#include "webkit/glue/webkitplatformsupport_impl.h"
-#include "webkit/support/simple_database_system.h"
-#include "webkit/tools/test_shell/mock_webclipboard_impl.h"
-#include "webkit/tools/test_shell/simple_appcache_system.h"
-#include "webkit/tools/test_shell/simple_clipboard_impl.h"
-#include "webkit/tools/test_shell/simple_dom_storage_system.h"
-#include "webkit/tools/test_shell/simple_file_system.h"
-#include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
-#include "webkit/tools/test_shell/simple_webcookiejar_impl.h"
-#include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h"
-#include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h"
-
-#if defined(OS_WIN)
-#include "webkit/tools/test_shell/test_shell_webthemeengine.h"
-#endif
-
-class TestShellWebKitInit : public webkit_glue::WebKitPlatformSupportImpl {
- public:
- explicit TestShellWebKitInit(bool layout_test_mode);
- virtual ~TestShellWebKitInit();
-
- virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE;
- virtual WebKit::WebClipboard* clipboard() OVERRIDE;
- virtual WebKit::WebFileUtilities* fileUtilities() OVERRIDE;
- virtual WebKit::WebSandboxSupport* sandboxSupport() OVERRIDE;
- virtual WebKit::WebCookieJar* cookieJar() OVERRIDE;
- virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE;
- virtual WebKit::WebFileSystem* fileSystem() OVERRIDE;
- virtual bool sandboxEnabled() OVERRIDE;
- virtual WebKit::Platform::FileHandle databaseOpenFile(
- const WebKit::WebString& vfs_file_name, int desired_flags) OVERRIDE;
- virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
- bool sync_dir) OVERRIDE;
- virtual long databaseGetFileAttributes(
- const WebKit::WebString& vfs_file_name) OVERRIDE;
- virtual long long databaseGetFileSize(
- const WebKit::WebString& vfs_file_name) OVERRIDE;
- virtual long long databaseGetSpaceAvailableForOrigin(
- const WebKit::WebString& origin_identifier) OVERRIDE;
- virtual unsigned long long visitedLinkHash(const char* canonicalURL,
- size_t length) OVERRIDE;
- virtual bool isLinkVisited(unsigned long long linkHash) OVERRIDE;
- virtual WebKit::WebMessagePortChannel* createMessagePortChannel() OVERRIDE;
- virtual void prefetchHostName(const WebKit::WebString&) OVERRIDE;
- virtual WebKit::WebData loadResource(const char* name) OVERRIDE;
- virtual WebKit::WebString queryLocalizedString(
- WebKit::WebLocalizedString::Name name) OVERRIDE;
- virtual WebKit::WebString queryLocalizedString(
- WebKit::WebLocalizedString::Name name,
- const WebKit::WebString& value) OVERRIDE;
- virtual WebKit::WebString queryLocalizedString(
- WebKit::WebLocalizedString::Name name,
- const WebKit::WebString& value1,
- const WebKit::WebString& value2) OVERRIDE;
-
- virtual WebKit::WebString defaultLocale() OVERRIDE;
-
- virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota) OVERRIDE;
-
- virtual WebKit::WebIDBFactory* idbFactory();
-
-#if defined(OS_WIN)
- void SetThemeEngine(WebKit::WebThemeEngine* engine) {
- active_theme_engine_ = engine ?
- engine : WebKitPlatformSupportImpl::themeEngine();
- }
-
- virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE {
- return active_theme_engine_;
- }
-#endif
-
- virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
- const WebKit::WebGraphicsContext3D::Attributes& attributes);
-
- virtual base::string16 GetLocalizedString(int message_id) OVERRIDE;
- virtual base::StringPiece GetDataResource(
- int resource_id,
- ui::ScaleFactor scale_factor) OVERRIDE;
- virtual void GetPlugins(bool refresh,
- std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
- virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
- const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
- OVERRIDE;
- virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
- WebKit::WebSocketStreamHandle* handle,
- webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
-
- private:
- scoped_ptr<webkit_glue::SimpleWebMimeRegistryImpl> mime_registry_;
- MockWebClipboardImpl mock_clipboard_;
- SimpleClipboardClient clipboard_client_;
- webkit_glue::WebClipboardImpl real_clipboard_;
- webkit_glue::WebFileUtilitiesImpl file_utilities_;
- base::ScopedTempDir appcache_dir_;
- SimpleAppCacheSystem appcache_system_;
- SimpleDatabaseSystem database_system_;
- SimpleDomStorageSystem dom_storage_system_;
- SimpleWebCookieJarImpl cookie_jar_;
- scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
- SimpleFileSystem file_system_;
-
-#if defined(OS_WIN)
- WebKit::WebThemeEngine* active_theme_engine_;
-#endif
-};
-
-#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_

Powered by Google App Engine
This is Rietveld 408576698