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/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" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "media/base/media.h" | 13 #include "media/base/media.h" |
14 #include "net/cookies/cookie_monster.h" | 14 #include "net/cookies/cookie_monster.h" |
15 #include "net/http/http_cache.h" | 15 #include "net/http/http_cache.h" |
16 #include "net/test/test_server.h" | 16 #include "net/test/test_server.h" |
17 #include "third_party/hyphen/hyphen.h" | 17 #include "third_party/hyphen/hyphen.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebAudioDevi
ce.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebAudioDevi
ce.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" |
33 #include "v8/include/v8.h" | 32 #include "v8/include/v8.h" |
34 #include "webkit/appcache/web_application_cache_host_impl.h" | 33 #include "webkit/appcache/web_application_cache_host_impl.h" |
35 #include "webkit/database/vfs_backend.h" | 34 #include "webkit/database/vfs_backend.h" |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 return 0; | 601 return 0; |
603 } | 602 } |
604 | 603 |
605 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve( | 604 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve( |
606 int device_source, | 605 int device_source, |
607 const WebKit::WebFloatPoint& velocity, | 606 const WebKit::WebFloatPoint& velocity, |
608 const WebKit::WebSize& cumulative_scroll) { | 607 const WebKit::WebSize& cumulative_scroll) { |
609 // Caller will retain and release. | 608 // Caller will retain and release. |
610 return new WebGestureCurveMock(velocity, cumulative_scroll); | 609 return new WebGestureCurveMock(velocity, cumulative_scroll); |
611 } | 610 } |
OLD | NEW |