| 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/simple_webmimeregistry_impl.h" | 10 #include "content/child/simple_webmimeregistry_impl.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return file_system_root_.path(); | 62 return file_system_root_.path(); |
| 63 } | 63 } |
| 64 | 64 |
| 65 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; | 65 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; |
| 66 virtual base::StringPiece GetDataResource( | 66 virtual base::StringPiece GetDataResource( |
| 67 int resource_id, | 67 int resource_id, |
| 68 ui::ScaleFactor scale_factor) OVERRIDE; | 68 ui::ScaleFactor scale_factor) OVERRIDE; |
| 69 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 69 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
| 70 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 70 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
| 71 OVERRIDE; | 71 OVERRIDE; |
| 72 virtual WebSocketStreamHandleBridge* CreateWebSocketStreamBridge( | 72 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketStreamBridge( |
| 73 blink::WebSocketStreamHandle* handle, | 73 blink::WebSocketStreamHandle* handle, |
| 74 WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 74 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
| 75 | 75 |
| 76 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 76 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 77 int device_source, | 77 int device_source, |
| 78 const blink::WebFloatPoint& velocity, | 78 const blink::WebFloatPoint& velocity, |
| 79 const blink::WebSize& cumulative_scroll); | 79 const blink::WebSize& cumulative_scroll); |
| 80 | 80 |
| 81 virtual blink::WebUnitTestSupport* unitTestSupport(); | 81 virtual blink::WebUnitTestSupport* unitTestSupport(); |
| 82 | 82 |
| 83 // WebUnitTestSupport implementation | 83 // WebUnitTestSupport implementation |
| 84 virtual void registerMockedURL(const blink::WebURL& url, | 84 virtual void registerMockedURL(const blink::WebURL& url, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 106 | 106 |
| 107 #if defined(OS_WIN) || defined(OS_MACOSX) | 107 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 108 blink::WebThemeEngine* active_theme_engine_; | 108 blink::WebThemeEngine* active_theme_engine_; |
| 109 #endif | 109 #endif |
| 110 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 110 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace content | 113 } // namespace content |
| 114 | 114 |
| 115 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 115 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |