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

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

Issue 11416342: Fixes theme includes for test_webkit_platform_support. I don't believe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "webkit/tools/test_shell/simple_socket_stream_bridge.h" 54 #include "webkit/tools/test_shell/simple_socket_stream_bridge.h"
55 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" 55 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h"
56 #include "webkit/tools/test_shell/test_shell_request_context.h" 56 #include "webkit/tools/test_shell/test_shell_request_context.h"
57 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" 57 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h"
58 58
59 #if defined(OS_WIN) 59 #if defined(OS_WIN)
60 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebTheme Engine.h" 60 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebTheme Engine.h"
61 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" 61 #include "webkit/tools/test_shell/test_shell_webthemeengine.h"
62 #elif defined(OS_MACOSX) 62 #elif defined(OS_MACOSX)
63 #include "base/mac/mac_util.h" 63 #include "base/mac/mac_util.h"
64 #elif defined(OS_POSIX) && !defined(OS_ANDROID)
65 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebThe meEngine.h"
66 #endif 64 #endif
67 65
68 using WebKit::WebScriptController; 66 using WebKit::WebScriptController;
69 67
70 TestWebKitPlatformSupport::TestWebKitPlatformSupport(bool unit_test_mode, 68 TestWebKitPlatformSupport::TestWebKitPlatformSupport(bool unit_test_mode,
71 WebKit::Platform* shadow_platform_delegate) 69 WebKit::Platform* shadow_platform_delegate)
72 : unit_test_mode_(unit_test_mode), 70 : unit_test_mode_(unit_test_mode),
73 shadow_platform_delegate_(shadow_platform_delegate), 71 shadow_platform_delegate_(shadow_platform_delegate),
74 hyphen_dictionary_(NULL) { 72 hyphen_dictionary_(NULL) {
75 v8::V8::SetCounterFunction(base::StatsTable::FindLocation); 73 v8::V8::SetCounterFunction(base::StatsTable::FindLocation);
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 return 0; 594 return 0;
597 } 595 }
598 596
599 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve( 597 WebKit::WebGestureCurve* TestWebKitPlatformSupport::createFlingAnimationCurve(
600 int device_source, 598 int device_source,
601 const WebKit::WebFloatPoint& velocity, 599 const WebKit::WebFloatPoint& velocity,
602 const WebKit::WebSize& cumulative_scroll) { 600 const WebKit::WebSize& cumulative_scroll) {
603 // Caller will retain and release. 601 // Caller will retain and release.
604 return new WebGestureCurveMock(velocity, cumulative_scroll); 602 return new WebGestureCurveMock(velocity, cumulative_scroll);
605 } 603 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698