| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // An implementation of WebKitPlatformSupport for tests. | 28 // An implementation of WebKitPlatformSupport for tests. |
| 29 class TestWebKitPlatformSupport : | 29 class TestWebKitPlatformSupport : |
| 30 public webkit_glue::WebKitPlatformSupportImpl { | 30 public webkit_glue::WebKitPlatformSupportImpl { |
| 31 public: | 31 public: |
| 32 TestWebKitPlatformSupport(bool unit_test_mode, | 32 TestWebKitPlatformSupport(bool unit_test_mode, |
| 33 WebKit::Platform* shadow_platform_delegate); | 33 WebKit::Platform* shadow_platform_delegate); |
| 34 virtual ~TestWebKitPlatformSupport(); | 34 virtual ~TestWebKitPlatformSupport(); |
| 35 | 35 |
| 36 virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE; | 36 virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE; |
| 37 virtual WebKit::WebClipboard* clipboard() OVERRIDE; | 37 virtual WebKit::WebClipboard* clipboard() OVERRIDE; |
| 38 virtual WebKit::WebDeviceMotionDetector* deviceMotionDetector() OVERRIDE; |
| 38 virtual WebKit::WebFileUtilities* fileUtilities() OVERRIDE; | 39 virtual WebKit::WebFileUtilities* fileUtilities() OVERRIDE; |
| 39 virtual WebKit::WebSandboxSupport* sandboxSupport() OVERRIDE; | 40 virtual WebKit::WebSandboxSupport* sandboxSupport() OVERRIDE; |
| 40 virtual WebKit::WebCookieJar* cookieJar() OVERRIDE; | 41 virtual WebKit::WebCookieJar* cookieJar() OVERRIDE; |
| 41 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 42 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
| 42 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE; | 43 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE; |
| 43 | 44 |
| 44 virtual bool sandboxEnabled() OVERRIDE; | 45 virtual bool sandboxEnabled() OVERRIDE; |
| 45 virtual WebKit::WebKitPlatformSupport::FileHandle databaseOpenFile( | 46 virtual WebKit::WebKitPlatformSupport::FileHandle databaseOpenFile( |
| 46 const WebKit::WebString& vfs_file_name, int desired_flags) OVERRIDE; | 47 const WebKit::WebString& vfs_file_name, int desired_flags) OVERRIDE; |
| 47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 WebKit::WebGamepads gamepad_data_; | 147 WebKit::WebGamepads gamepad_data_; |
| 147 WebKit::Platform* shadow_platform_delegate_; | 148 WebKit::Platform* shadow_platform_delegate_; |
| 148 | 149 |
| 149 #if defined(OS_WIN) || defined(OS_MACOSX) | 150 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 150 WebKit::WebThemeEngine* active_theme_engine_; | 151 WebKit::WebThemeEngine* active_theme_engine_; |
| 151 #endif | 152 #endif |
| 152 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 153 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 156 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |