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

Side by Side Diff: content/shell/renderer/webkit_test_runner.h

Issue 268673015: Support screen.lockOrientation() / screen.unlockOrientation() when running layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take feedback into consideration Created 6 years, 7 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 (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 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void didConnectGamepad(int index, 59 virtual void didConnectGamepad(int index,
60 const blink::WebGamepad& gamepad) OVERRIDE; 60 const blink::WebGamepad& gamepad) OVERRIDE;
61 virtual void didDisconnectGamepad(int index, 61 virtual void didDisconnectGamepad(int index,
62 const blink::WebGamepad& gamepad) OVERRIDE; 62 const blink::WebGamepad& gamepad) OVERRIDE;
63 virtual void setDeviceMotionData( 63 virtual void setDeviceMotionData(
64 const blink::WebDeviceMotionData& data) OVERRIDE; 64 const blink::WebDeviceMotionData& data) OVERRIDE;
65 virtual void setDeviceOrientationData( 65 virtual void setDeviceOrientationData(
66 const blink::WebDeviceOrientationData& data) OVERRIDE; 66 const blink::WebDeviceOrientationData& data) OVERRIDE;
67 virtual void setScreenOrientation( 67 virtual void setScreenOrientation(
68 const blink::WebScreenOrientationType& orientation) OVERRIDE; 68 const blink::WebScreenOrientationType& orientation) OVERRIDE;
69 virtual void resetScreenOrientation() OVERRIDE;
69 virtual void printMessage(const std::string& message) OVERRIDE; 70 virtual void printMessage(const std::string& message) OVERRIDE;
70 virtual void postTask(WebTask* task) OVERRIDE; 71 virtual void postTask(WebTask* task) OVERRIDE;
71 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE; 72 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE;
72 virtual blink::WebString registerIsolatedFileSystem( 73 virtual blink::WebString registerIsolatedFileSystem(
73 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE; 74 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE;
74 virtual long long getCurrentTimeInMillisecond() OVERRIDE; 75 virtual long long getCurrentTimeInMillisecond() OVERRIDE;
75 virtual blink::WebString getAbsoluteWebStringFromUTF8Path( 76 virtual blink::WebString getAbsoluteWebStringFromUTF8Path(
76 const std::string& utf8_path) OVERRIDE; 77 const std::string& utf8_path) OVERRIDE;
77 virtual blink::WebURL localFileToDataURL( 78 virtual blink::WebURL localFileToDataURL(
78 const blink::WebURL& file_url) OVERRIDE; 79 const blink::WebURL& file_url) OVERRIDE;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 152
152 scoped_ptr<LeakDetector> leak_detector_; 153 scoped_ptr<LeakDetector> leak_detector_;
153 bool needs_leak_detector_; 154 bool needs_leak_detector_;
154 155
155 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 156 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
156 }; 157 };
157 158
158 } // namespace content 159 } // namespace content
159 160
160 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 161 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698