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

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

Issue 304403002: Gamepad: add test support for page visibility behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing override's 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void Navigate(const GURL& url) OVERRIDE; 48 virtual void Navigate(const GURL& url) OVERRIDE;
49 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, 49 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
50 bool is_new_navigation) OVERRIDE; 50 bool is_new_navigation) OVERRIDE;
51 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame, 51 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame,
52 const blink::WebURLError& error) OVERRIDE; 52 const blink::WebURLError& error) OVERRIDE;
53 53
54 // WebTestDelegate implementation. 54 // WebTestDelegate implementation.
55 virtual void clearEditCommand() OVERRIDE; 55 virtual void clearEditCommand() OVERRIDE;
56 virtual void setEditCommand(const std::string& name, 56 virtual void setEditCommand(const std::string& name,
57 const std::string& value) OVERRIDE; 57 const std::string& value) OVERRIDE;
58 virtual void setGamepadData(const blink::WebGamepads& gamepads) OVERRIDE; 58 virtual void setGamepadProvider(RendererGamepadProvider*) OVERRIDE;
59 virtual void didConnectGamepad(int index,
60 const blink::WebGamepad& gamepad) OVERRIDE;
61 virtual void didDisconnectGamepad(int index,
62 const blink::WebGamepad& gamepad) OVERRIDE;
63 virtual void setDeviceMotionData( 59 virtual void setDeviceMotionData(
64 const blink::WebDeviceMotionData& data) OVERRIDE; 60 const blink::WebDeviceMotionData& data) OVERRIDE;
65 virtual void setDeviceOrientationData( 61 virtual void setDeviceOrientationData(
66 const blink::WebDeviceOrientationData& data) OVERRIDE; 62 const blink::WebDeviceOrientationData& data) OVERRIDE;
67 virtual void setScreenOrientation( 63 virtual void setScreenOrientation(
68 const blink::WebScreenOrientationType& orientation) OVERRIDE; 64 const blink::WebScreenOrientationType& orientation) OVERRIDE;
69 virtual void resetScreenOrientation() OVERRIDE; 65 virtual void resetScreenOrientation() OVERRIDE;
70 virtual void didChangeBatteryStatus( 66 virtual void didChangeBatteryStatus(
71 const blink::WebBatteryStatus& status) OVERRIDE; 67 const blink::WebBatteryStatus& status) OVERRIDE;
72 virtual void printMessage(const std::string& message) OVERRIDE; 68 virtual void printMessage(const std::string& message) OVERRIDE;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 151
156 scoped_ptr<LeakDetector> leak_detector_; 152 scoped_ptr<LeakDetector> leak_detector_;
157 bool needs_leak_detector_; 153 bool needs_leak_detector_;
158 154
159 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 155 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
160 }; 156 };
161 157
162 } // namespace content 158 } // namespace content
163 159
164 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 160 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/gamepad_controller.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698