| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 const base::FilePath& file_system_root() const { | 61 const base::FilePath& file_system_root() const { |
| 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 ResourceLoaderBridge* CreateResourceLoader( |
| 70 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 70 const ResourceLoaderBridge::RequestInfo& request_info) OVERRIDE; |
| 71 OVERRIDE; | |
| 72 virtual WebSocketStreamHandleBridge* CreateWebSocketStreamBridge( | 71 virtual WebSocketStreamHandleBridge* CreateWebSocketStreamBridge( |
| 73 blink::WebSocketStreamHandle* handle, | 72 blink::WebSocketStreamHandle* handle, |
| 74 WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 73 WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
| 75 | 74 |
| 76 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 75 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 77 int device_source, | 76 int device_source, |
| 78 const blink::WebFloatPoint& velocity, | 77 const blink::WebFloatPoint& velocity, |
| 79 const blink::WebSize& cumulative_scroll); | 78 const blink::WebSize& cumulative_scroll); |
| 80 | 79 |
| 81 virtual blink::WebUnitTestSupport* unitTestSupport(); | 80 virtual blink::WebUnitTestSupport* unitTestSupport(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 106 | 105 |
| 107 #if defined(OS_WIN) || defined(OS_MACOSX) | 106 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 108 blink::WebThemeEngine* active_theme_engine_; | 107 blink::WebThemeEngine* active_theme_engine_; |
| 109 #endif | 108 #endif |
| 110 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 109 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace content | 112 } // namespace content |
| 114 | 113 |
| 115 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 114 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
| OLD | NEW |