| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 5 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| 6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 6 #define CONTENT_TEST_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 "content/child/blink_platform_impl.h" | 10 #include "content/child/blink_platform_impl.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 WebURLLoaderMockFactory* url_loader_factory() { | 58 WebURLLoaderMockFactory* url_loader_factory() { |
| 59 return url_loader_factory_.get(); | 59 return url_loader_factory_.get(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 const base::FilePath& file_system_root() const { | 62 const base::FilePath& file_system_root() const { |
| 63 return file_system_root_.path(); | 63 return file_system_root_.path(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 66 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 67 int device_source, | 67 blink::WebGestureDevice device_source, |
| 68 const blink::WebFloatPoint& velocity, | 68 const blink::WebFloatPoint& velocity, |
| 69 const blink::WebSize& cumulative_scroll); | 69 const blink::WebSize& cumulative_scroll) OVERRIDE; |
| 70 | 70 |
| 71 virtual blink::WebUnitTestSupport* unitTestSupport(); | 71 virtual blink::WebUnitTestSupport* unitTestSupport(); |
| 72 | 72 |
| 73 // WebUnitTestSupport implementation | 73 // WebUnitTestSupport implementation |
| 74 virtual void registerMockedURL(const blink::WebURL& url, | 74 virtual void registerMockedURL(const blink::WebURL& url, |
| 75 const blink::WebURLResponse& response, | 75 const blink::WebURLResponse& response, |
| 76 const blink::WebString& filePath); | 76 const blink::WebString& filePath); |
| 77 virtual void registerMockedErrorURL(const blink::WebURL& url, | 77 virtual void registerMockedErrorURL(const blink::WebURL& url, |
| 78 const blink::WebURLResponse& response, | 78 const blink::WebURLResponse& response, |
| 79 const blink::WebURLError& error); | 79 const blink::WebURLError& error); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 96 | 96 |
| 97 #if defined(OS_WIN) || defined(OS_MACOSX) | 97 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 98 blink::WebThemeEngine* active_theme_engine_; | 98 blink::WebThemeEngine* active_theme_engine_; |
| 99 #endif | 99 #endif |
| 100 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 100 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace content | 103 } // namespace content |
| 104 | 104 |
| 105 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 105 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |