Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: webkit/support/test_webkit_platform_support.cc

Issue 19871003: Simplify how we get the plugin list in the webkit platform support by removing the intermediate met… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698