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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1840823002: Extract WebViewClient implementation out of WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate-pixel-dump-code
Patch Set: Expanding a comment + an IWYU fix. Created 4 years, 8 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_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 class SkBitmap; 24 class SkBitmap;
25 class SkCanvas; 25 class SkCanvas;
26 26
27 namespace base { 27 namespace base {
28 class DictionaryValue; 28 class DictionaryValue;
29 } 29 }
30 30
31 namespace blink { 31 namespace blink {
32 class WebDeviceMotionData; 32 class WebDeviceMotionData;
33 class WebDeviceOrientationData; 33 class WebDeviceOrientationData;
34 class WebView;
34 struct WebRect; 35 struct WebRect;
35 } 36 }
36 37
37 namespace test_runner { 38 namespace test_runner {
38 class WebTestProxyBase; 39 class WebTestProxyBase;
39 } 40 }
40 41
41 namespace content { 42 namespace content {
42 43
43 class LeakDetector; 44 class LeakDetector;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const base::Closure& callback) override; 108 const base::Closure& callback) override;
108 void SetBluetoothManualChooser(bool enable) override; 109 void SetBluetoothManualChooser(bool enable) override;
109 void GetBluetoothManualChooserEvents( 110 void GetBluetoothManualChooserEvents(
110 const base::Callback<void(const std::vector<std::string>&)>& callback) 111 const base::Callback<void(const std::vector<std::string>&)>& callback)
111 override; 112 override;
112 void SendBluetoothManualChooserEvent(const std::string& event, 113 void SendBluetoothManualChooserEvent(const std::string& event,
113 const std::string& argument) override; 114 const std::string& argument) override;
114 void SetGeofencingMockProvider(bool service_available) override; 115 void SetGeofencingMockProvider(bool service_available) override;
115 void ClearGeofencingMockProvider() override; 116 void ClearGeofencingMockProvider() override;
116 void SetGeofencingMockPosition(double latitude, double longitude) override; 117 void SetGeofencingMockPosition(double latitude, double longitude) override;
117 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; 118 void SetFocus(blink::WebView* web_view, bool focus) override;
118 void SetAcceptAllCookies(bool accept) override; 119 void SetAcceptAllCookies(bool accept) override;
119 std::string PathToLocalResource(const std::string& resource) override; 120 std::string PathToLocalResource(const std::string& resource) override;
120 void SetLocale(const std::string& locale) override; 121 void SetLocale(const std::string& locale) override;
121 void OnLayoutTestRuntimeFlagsChanged( 122 void OnLayoutTestRuntimeFlagsChanged(
122 const base::DictionaryValue& changed_values) override; 123 const base::DictionaryValue& changed_values) override;
123 void TestFinished() override; 124 void TestFinished() override;
124 void CloseRemainingWindows() override; 125 void CloseRemainingWindows() override;
125 void DeleteAllCookies() override; 126 void DeleteAllCookies() override;
126 int NavigationEntryCount() override; 127 int NavigationEntryCount() override;
127 void GoToOffset(int offset) override; 128 void GoToOffset(int offset) override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 bool focus_on_next_commit_; 216 bool focus_on_next_commit_;
216 217
217 scoped_ptr<LeakDetector> leak_detector_; 218 scoped_ptr<LeakDetector> leak_detector_;
218 219
219 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 220 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
220 }; 221 };
221 222
222 } // namespace content 223 } // namespace content
223 224
224 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 225 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698