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

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

Issue 1715573002: Replicating LayoutDumpFlags across OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicating-pixel-dump-flag
Patch Set: Removed unneeded include. Created 4 years, 9 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
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "components/test_runner/test_preferences.h" 15 #include "components/test_runner/test_preferences.h"
16 #include "components/test_runner/web_test_delegate.h" 16 #include "components/test_runner/web_test_delegate.h"
17 #include "content/public/common/page_state.h" 17 #include "content/public/common/page_state.h"
18 #include "content/public/renderer/render_view_observer.h" 18 #include "content/public/renderer/render_view_observer.h"
19 #include "content/public/renderer/render_view_observer_tracker.h" 19 #include "content/public/renderer/render_view_observer_tracker.h"
20 #include "content/shell/common/shell_test_configuration.h" 20 #include "content/shell/common/shell_test_configuration.h"
21 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h" 21 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h"
22 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
23 23
24 class SkBitmap; 24 class SkBitmap;
25 class SkCanvas; 25 class SkCanvas;
26 26
27 namespace base {
28 class DictionaryValue;
29 }
30
27 namespace blink { 31 namespace blink {
28 class WebDeviceMotionData; 32 class WebDeviceMotionData;
29 class WebDeviceOrientationData; 33 class WebDeviceOrientationData;
30 struct WebRect; 34 struct WebRect;
31 } 35 }
32 36
33 namespace test_runner { 37 namespace test_runner {
34 class WebTestProxyBase; 38 class WebTestProxyBase;
35 } 39 }
36 40
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 override; 114 override;
111 void SendBluetoothManualChooserEvent(const std::string& event, 115 void SendBluetoothManualChooserEvent(const std::string& event,
112 const std::string& argument) override; 116 const std::string& argument) override;
113 void SetGeofencingMockProvider(bool service_available) override; 117 void SetGeofencingMockProvider(bool service_available) override;
114 void ClearGeofencingMockProvider() override; 118 void ClearGeofencingMockProvider() override;
115 void SetGeofencingMockPosition(double latitude, double longitude) override; 119 void SetGeofencingMockPosition(double latitude, double longitude) override;
116 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; 120 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override;
117 void SetAcceptAllCookies(bool accept) override; 121 void SetAcceptAllCookies(bool accept) override;
118 std::string PathToLocalResource(const std::string& resource) override; 122 std::string PathToLocalResource(const std::string& resource) override;
119 void SetLocale(const std::string& locale) override; 123 void SetLocale(const std::string& locale) override;
124 void OnLayoutDumpFlagsChanged(
125 const base::DictionaryValue& changed_values) override;
120 void TestFinished() override; 126 void TestFinished() override;
121 void CloseRemainingWindows() override; 127 void CloseRemainingWindows() override;
122 void DeleteAllCookies() override; 128 void DeleteAllCookies() override;
123 int NavigationEntryCount() override; 129 int NavigationEntryCount() override;
124 void GoToOffset(int offset) override; 130 void GoToOffset(int offset) override;
125 void Reload() override; 131 void Reload() override;
126 void LoadURLForFrame(const blink::WebURL& url, 132 void LoadURLForFrame(const blink::WebURL& url,
127 const std::string& frame_name) override; 133 const std::string& frame_name) override;
128 bool AllowExternalPages() override; 134 bool AllowExternalPages() override;
129 std::string DumpHistoryForWindow( 135 std::string DumpHistoryForWindow(
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool focus_on_next_commit_; 219 bool focus_on_next_commit_;
214 220
215 scoped_ptr<LeakDetector> leak_detector_; 221 scoped_ptr<LeakDetector> leak_detector_;
216 222
217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 223 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
218 }; 224 };
219 225
220 } // namespace content 226 } // namespace content
221 227
222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 228 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/common/shell_messages.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