OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "webkit/support/test_webkit_platform_support.h" | 5 #include "webkit/support/test_webkit_platform_support.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/metrics/stats_counters.h" | 10 #include "base/metrics/stats_counters.h" |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 | 347 |
348 void TestWebKitPlatformSupport::sampleGamepads(WebKit::WebGamepads& data) { | 348 void TestWebKitPlatformSupport::sampleGamepads(WebKit::WebGamepads& data) { |
349 data = gamepad_data_; | 349 data = gamepad_data_; |
350 } | 350 } |
351 | 351 |
352 void TestWebKitPlatformSupport::setGamepadData( | 352 void TestWebKitPlatformSupport::setGamepadData( |
353 const WebKit::WebGamepads& data) { | 353 const WebKit::WebGamepads& data) { |
354 gamepad_data_ = data; | 354 gamepad_data_ = data; |
355 } | 355 } |
356 | 356 |
357 void TestWebKitPlatformSupport::GetPlugins( | |
358 bool refresh, std::vector<webkit::WebPluginInfo>* plugins) { | |
359 } | |
360 | |
361 webkit_glue::ResourceLoaderBridge* | 357 webkit_glue::ResourceLoaderBridge* |
362 TestWebKitPlatformSupport::CreateResourceLoader( | 358 TestWebKitPlatformSupport::CreateResourceLoader( |
363 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) { | 359 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) { |
364 NOTREACHED(); | 360 NOTREACHED(); |
365 return NULL; | 361 return NULL; |
366 } | 362 } |
367 | 363 |
368 webkit_glue::WebSocketStreamHandleBridge* | 364 webkit_glue::WebSocketStreamHandleBridge* |
369 TestWebKitPlatformSupport::CreateWebSocketBridge( | 365 TestWebKitPlatformSupport::CreateWebSocketBridge( |
370 WebKit::WebSocketStreamHandle* handle, | 366 WebKit::WebSocketStreamHandle* handle, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 return view.release(); | 445 return view.release(); |
450 } | 446 } |
451 | 447 |
452 WebKit::WebLayerTreeView* | 448 WebKit::WebLayerTreeView* |
453 TestWebKitPlatformSupport::createLayerTreeViewForTesting( | 449 TestWebKitPlatformSupport::createLayerTreeViewForTesting( |
454 TestViewType type) { | 450 TestViewType type) { |
455 DCHECK_EQ(TestViewTypeUnitTest, type); | 451 DCHECK_EQ(TestViewTypeUnitTest, type); |
456 return createLayerTreeViewForTesting(); | 452 return createLayerTreeViewForTesting(); |
457 } | 453 } |
458 | 454 |
OLD | NEW |