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/test/mock_webclipboard_impl.h" | 10 #include "content/test/mock_webclipboard_impl.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 return file_system_root_.path(); | 60 return file_system_root_.path(); |
61 } | 61 } |
62 | 62 |
63 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; | 63 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; |
64 virtual base::StringPiece GetDataResource( | 64 virtual base::StringPiece GetDataResource( |
65 int resource_id, | 65 int resource_id, |
66 ui::ScaleFactor scale_factor) OVERRIDE; | 66 ui::ScaleFactor scale_factor) OVERRIDE; |
67 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 67 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
68 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 68 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
69 OVERRIDE; | 69 OVERRIDE; |
70 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( | 70 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketStreamBridge( |
71 WebKit::WebSocketStreamHandle* handle, | 71 WebKit::WebSocketStreamHandle* handle, |
72 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 72 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
73 | 73 |
74 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( | 74 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( |
75 int device_source, | 75 int device_source, |
76 const WebKit::WebFloatPoint& velocity, | 76 const WebKit::WebFloatPoint& velocity, |
77 const WebKit::WebSize& cumulative_scroll); | 77 const WebKit::WebSize& cumulative_scroll); |
78 | 78 |
79 virtual WebKit::WebUnitTestSupport* unitTestSupport(); | 79 virtual WebKit::WebUnitTestSupport* unitTestSupport(); |
80 | 80 |
(...skipping 21 matching lines...) Expand all Loading... |
102 WebURLLoaderMockFactory url_loader_factory_; | 102 WebURLLoaderMockFactory url_loader_factory_; |
103 webkit::WebCompositorSupportImpl compositor_support_; | 103 webkit::WebCompositorSupportImpl compositor_support_; |
104 | 104 |
105 #if defined(OS_WIN) || defined(OS_MACOSX) | 105 #if defined(OS_WIN) || defined(OS_MACOSX) |
106 WebKit::WebThemeEngine* active_theme_engine_; | 106 WebKit::WebThemeEngine* active_theme_engine_; |
107 #endif | 107 #endif |
108 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 108 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
109 }; | 109 }; |
110 | 110 |
111 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 111 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |