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

Side by Side Diff: content/test/test_webkit_platform_support.h

Issue 304793003: use enum to specify deviceSource for fling animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased for parallel breaking changes Created 6 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "content/child/blink_platform_impl.h" 10 #include "content/child/blink_platform_impl.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 WebURLLoaderMockFactory* url_loader_factory() { 58 WebURLLoaderMockFactory* url_loader_factory() {
59 return url_loader_factory_.get(); 59 return url_loader_factory_.get();
60 } 60 }
61 61
62 const base::FilePath& file_system_root() const { 62 const base::FilePath& file_system_root() const {
63 return file_system_root_.path(); 63 return file_system_root_.path();
64 } 64 }
65 65
66 virtual blink::WebGestureCurve* createFlingAnimationCurve( 66 virtual blink::WebGestureCurve* createFlingAnimationCurve(
67 int device_source, 67 blink::WebGestureDevice device_source,
68 const blink::WebFloatPoint& velocity, 68 const blink::WebFloatPoint& velocity,
69 const blink::WebSize& cumulative_scroll); 69 const blink::WebSize& cumulative_scroll) OVERRIDE;
70 70
71 virtual blink::WebUnitTestSupport* unitTestSupport(); 71 virtual blink::WebUnitTestSupport* unitTestSupport();
72 72
73 // WebUnitTestSupport implementation 73 // WebUnitTestSupport implementation
74 virtual void registerMockedURL(const blink::WebURL& url, 74 virtual void registerMockedURL(const blink::WebURL& url,
75 const blink::WebURLResponse& response, 75 const blink::WebURLResponse& response,
76 const blink::WebString& filePath); 76 const blink::WebString& filePath);
77 virtual void registerMockedErrorURL(const blink::WebURL& url, 77 virtual void registerMockedErrorURL(const blink::WebURL& url,
78 const blink::WebURLResponse& response, 78 const blink::WebURLResponse& response,
79 const blink::WebURLError& error); 79 const blink::WebURLError& error);
(...skipping 16 matching lines...) Expand all
96 96
97 #if defined(OS_WIN) || defined(OS_MACOSX) 97 #if defined(OS_WIN) || defined(OS_MACOSX)
98 blink::WebThemeEngine* active_theme_engine_; 98 blink::WebThemeEngine* active_theme_engine_;
99 #endif 99 #endif
100 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 100 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
101 }; 101 };
102 102
103 } // namespace content 103 } // namespace content
104 104
105 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 105 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698