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