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

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 jochen's 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void didConnectGamepad(int index, 58 virtual void didConnectGamepad(int index,
59 const blink::WebGamepad& gamepad) OVERRIDE; 59 const blink::WebGamepad& gamepad) OVERRIDE;
60 virtual void didDisconnectGamepad(int index, 60 virtual void didDisconnectGamepad(int index,
61 const blink::WebGamepad& gamepad) OVERRIDE; 61 const blink::WebGamepad& gamepad) OVERRIDE;
62 virtual void setDeviceMotionData( 62 virtual void setDeviceMotionData(
63 const blink::WebDeviceMotionData& data) OVERRIDE; 63 const blink::WebDeviceMotionData& data) OVERRIDE;
64 virtual void setDeviceOrientationData( 64 virtual void setDeviceOrientationData(
65 const blink::WebDeviceOrientationData& data) OVERRIDE; 65 const blink::WebDeviceOrientationData& data) OVERRIDE;
66 virtual void setScreenOrientation( 66 virtual void setScreenOrientation(
67 const blink::WebScreenOrientationType& orientation) OVERRIDE; 67 const blink::WebScreenOrientationType& orientation) OVERRIDE;
68 virtual void resetScreenOrientation() OVERRIDE;
68 virtual void printMessage(const std::string& message) OVERRIDE; 69 virtual void printMessage(const std::string& message) OVERRIDE;
69 virtual void postTask(WebTask* task) OVERRIDE; 70 virtual void postTask(WebTask* task) OVERRIDE;
70 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE; 71 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE;
71 virtual blink::WebString registerIsolatedFileSystem( 72 virtual blink::WebString registerIsolatedFileSystem(
72 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE; 73 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE;
73 virtual long long getCurrentTimeInMillisecond() OVERRIDE; 74 virtual long long getCurrentTimeInMillisecond() OVERRIDE;
74 virtual blink::WebString getAbsoluteWebStringFromUTF8Path( 75 virtual blink::WebString getAbsoluteWebStringFromUTF8Path(
75 const std::string& utf8_path) OVERRIDE; 76 const std::string& utf8_path) OVERRIDE;
76 virtual blink::WebURL localFileToDataURL( 77 virtual blink::WebURL localFileToDataURL(
77 const blink::WebURL& file_url) OVERRIDE; 78 const blink::WebURL& file_url) OVERRIDE;
(...skipping 73 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
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698