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