| 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/Platform/chromium/public/WebGamepads.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 virtual WebKit::WebIDBFactory* idbFactory(); | 78 virtual WebKit::WebIDBFactory* idbFactory(); |
| 79 | 79 |
| 80 #if defined(OS_WIN) || defined(OS_MACOSX) | 80 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 81 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 81 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
| 82 virtual WebKit::WebThemeEngine *themeEngine(); | 82 virtual WebKit::WebThemeEngine *themeEngine(); |
| 83 #endif | 83 #endif |
| 84 | 84 |
| 85 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 85 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
| 86 const WebKit::WebGraphicsContext3D::Attributes&); | 86 const WebKit::WebGraphicsContext3D::Attributes&); |
| 87 virtual WebKit::WebGraphicsContext3D* sharedOffscreenGraphicsContext3D(); |
| 87 virtual bool canAccelerate2dCanvas(); | 88 virtual bool canAccelerate2dCanvas(); |
| 88 | 89 |
| 89 WebURLLoaderMockFactory* url_loader_factory() { | 90 WebURLLoaderMockFactory* url_loader_factory() { |
| 90 return &url_loader_factory_; | 91 return &url_loader_factory_; |
| 91 } | 92 } |
| 92 | 93 |
| 93 const base::FilePath& file_system_root() const { | 94 const base::FilePath& file_system_root() const { |
| 94 return file_system_root_.path(); | 95 return file_system_root_.path(); |
| 95 } | 96 } |
| 96 | 97 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 WebKit::Platform* shadow_platform_delegate_; | 156 WebKit::Platform* shadow_platform_delegate_; |
| 156 HyphenDict* hyphen_dictionary_; | 157 HyphenDict* hyphen_dictionary_; |
| 157 | 158 |
| 158 #if defined(OS_WIN) || defined(OS_MACOSX) | 159 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 159 WebKit::WebThemeEngine* active_theme_engine_; | 160 WebKit::WebThemeEngine* active_theme_engine_; |
| 160 #endif | 161 #endif |
| 161 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 162 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 165 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |