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

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

Issue 11828054: Remove IPC code for old methods. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix merge conflicts Created 7 years, 11 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
« no previous file with comments | « content/content_common.gypi ('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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/metrics/stats_counters.h" 9 #include "base/metrics/stats_counters.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 dataDir.isEmpty() ? data_dir_ : dataDir); 367 dataDir.isEmpty() ? data_dir_ : dataDir);
368 } 368 }
369 369
370 virtual void open(const WebString& name, 370 virtual void open(const WebString& name,
371 long long version, 371 long long version,
372 WebKit::WebIDBCallbacks* callbacks, 372 WebKit::WebIDBCallbacks* callbacks,
373 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks, 373 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks,
374 const WebKit::WebSecurityOrigin& origin, 374 const WebKit::WebSecurityOrigin& origin,
375 WebKit::WebFrame* frame, 375 WebKit::WebFrame* frame,
376 const WebString& dataDir) { 376 const WebString& dataDir) {
377 factory_->open(name, version, callbacks, databaseCallbacks, origin, frame, 377 factory_->open(name, version, 1, callbacks, databaseCallbacks, origin,
378 dataDir.isEmpty() ? data_dir_ : dataDir); 378 frame, dataDir.isEmpty() ? data_dir_ : dataDir);
379 } 379 }
380 380
381 virtual void open(const WebString& name, 381 virtual void open(const WebString& name,
382 long long version, 382 long long version,
383 long long transaction_id, 383 long long transaction_id,
384 WebKit::WebIDBCallbacks* callbacks, 384 WebKit::WebIDBCallbacks* callbacks,
385 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks, 385 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks,
386 const WebKit::WebSecurityOrigin& origin, 386 const WebKit::WebSecurityOrigin& origin,
387 WebKit::WebFrame* frame, 387 WebKit::WebFrame* frame,
388 const WebString& dataDir) { 388 const WebString& dataDir) {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 return 0; 601 return 0;
602 } 602 }
603 603
604 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve( 604 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve(
605 int device_source, 605 int device_source,
606 const WebKit::WebFloatPoint& velocity, 606 const WebKit::WebFloatPoint& velocity,
607 const WebKit::WebSize& cumulative_scroll) { 607 const WebKit::WebSize& cumulative_scroll) {
608 // Caller will retain and release. 608 // Caller will retain and release.
609 return new WebGestureCurveMock(velocity, cumulative_scroll); 609 return new WebGestureCurveMock(velocity, cumulative_scroll);
610 } 610 }
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698