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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 WebKit::WebLocalizedString::Name name, | 67 WebKit::WebLocalizedString::Name name, |
68 const WebKit::WebString& value1, | 68 const WebKit::WebString& value1, |
69 const WebKit::WebString& value2) OVERRIDE; | 69 const WebKit::WebString& value2) OVERRIDE; |
70 virtual WebKit::WebString defaultLocale() OVERRIDE; | 70 virtual WebKit::WebString defaultLocale() OVERRIDE; |
71 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 71 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
72 const WebKit::WebString& path, unsigned quota) OVERRIDE; | 72 const WebKit::WebString& path, unsigned quota) OVERRIDE; |
73 | 73 |
74 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; | 74 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE; |
75 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 75 virtual void createIDBKeysFromSerializedValuesAndKeyPath( |
76 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 76 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
77 const WebKit::WebString& keyPath, | 77 const WebKit::WebIDBKeyPath& keyPath, |
78 WebKit::WebVector<WebKit::WebIDBKey>& keys_out) OVERRIDE; | 78 WebKit::WebVector<WebKit::WebIDBKey>& keys_out) OVERRIDE; |
79 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 79 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
80 const WebKit::WebIDBKey& key, | 80 const WebKit::WebIDBKey& key, |
81 const WebKit::WebSerializedScriptValue& value, | 81 const WebKit::WebSerializedScriptValue& value, |
82 const WebKit::WebString& keyPath) OVERRIDE; | 82 const WebKit::WebIDBKeyPath& keyPath) OVERRIDE; |
83 | 83 |
84 #if defined(OS_WIN) || defined(OS_MACOSX) | 84 #if defined(OS_WIN) || defined(OS_MACOSX) |
85 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 85 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
86 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; | 86 virtual WebKit::WebThemeEngine *themeEngine() OVERRIDE; |
87 #endif | 87 #endif |
88 | 88 |
89 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | 89 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; |
90 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 90 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
91 const WebKit::WebGraphicsContext3D::Attributes&); | 91 const WebKit::WebGraphicsContext3D::Attributes&); |
92 virtual bool canAccelerate2dCanvas(); | 92 virtual bool canAccelerate2dCanvas(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool unit_test_mode_; | 137 bool unit_test_mode_; |
138 WebKit::WebGamepads gamepad_data_; | 138 WebKit::WebGamepads gamepad_data_; |
139 | 139 |
140 #if defined(OS_WIN) || defined(OS_MACOSX) | 140 #if defined(OS_WIN) || defined(OS_MACOSX) |
141 WebKit::WebThemeEngine* active_theme_engine_; | 141 WebKit::WebThemeEngine* active_theme_engine_; |
142 #endif | 142 #endif |
143 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 143 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
144 }; | 144 }; |
145 | 145 |
146 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 146 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |