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 "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "third_party/WebKit/public/platform/WebGamepads.h" | 10 #include "third_party/WebKit/public/platform/WebGamepads.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 44 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
45 virtual WebKit::WebBlobRegistry* blobRegistry(); | 45 virtual WebKit::WebBlobRegistry* blobRegistry(); |
46 virtual WebKit::WebHyphenator* hyphenator(); | 46 virtual WebKit::WebHyphenator* hyphenator(); |
47 virtual WebKit::WebIDBFactory* idbFactory(); | 47 virtual WebKit::WebIDBFactory* idbFactory(); |
48 | 48 |
49 virtual bool sandboxEnabled(); | 49 virtual bool sandboxEnabled(); |
50 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 50 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
51 size_t length); | 51 size_t length); |
52 virtual bool isLinkVisited(unsigned long long linkHash); | 52 virtual bool isLinkVisited(unsigned long long linkHash); |
53 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 53 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
54 virtual void prefetchHostName(const WebKit::WebString&); | |
55 virtual WebKit::WebURLLoader* createURLLoader(); | 54 virtual WebKit::WebURLLoader* createURLLoader(); |
56 virtual WebKit::WebData loadResource(const char* name); | 55 virtual WebKit::WebData loadResource(const char* name); |
57 virtual WebKit::WebString queryLocalizedString( | 56 virtual WebKit::WebString queryLocalizedString( |
58 WebKit::WebLocalizedString::Name name); | 57 WebKit::WebLocalizedString::Name name); |
59 virtual WebKit::WebString queryLocalizedString( | 58 virtual WebKit::WebString queryLocalizedString( |
60 WebKit::WebLocalizedString::Name name, | 59 WebKit::WebLocalizedString::Name name, |
61 const WebKit::WebString& value); | 60 const WebKit::WebString& value); |
62 virtual WebKit::WebString queryLocalizedString( | 61 virtual WebKit::WebString queryLocalizedString( |
63 WebKit::WebLocalizedString::Name name, | 62 WebKit::WebLocalizedString::Name name, |
64 const WebKit::WebString& value1, | 63 const WebKit::WebString& value1, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 155 |
157 scoped_refptr<cc::ContextProvider> main_thread_contexts_; | 156 scoped_refptr<cc::ContextProvider> main_thread_contexts_; |
158 | 157 |
159 #if defined(OS_WIN) || defined(OS_MACOSX) | 158 #if defined(OS_WIN) || defined(OS_MACOSX) |
160 WebKit::WebThemeEngine* active_theme_engine_; | 159 WebKit::WebThemeEngine* active_theme_engine_; |
161 #endif | 160 #endif |
162 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 161 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
163 }; | 162 }; |
164 | 163 |
165 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 164 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |