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

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

Issue 2513423003: DevTools: Convert inspector-unit tests to use reusable test harness (Closed)
Patch Set: clean diff Created 4 years 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 <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 std::string PathToLocalResource(const std::string& resource) override; 126 std::string PathToLocalResource(const std::string& resource) override;
127 void SetLocale(const std::string& locale) override; 127 void SetLocale(const std::string& locale) override;
128 void OnLayoutTestRuntimeFlagsChanged( 128 void OnLayoutTestRuntimeFlagsChanged(
129 const base::DictionaryValue& changed_values) override; 129 const base::DictionaryValue& changed_values) override;
130 void TestFinished() override; 130 void TestFinished() override;
131 void CloseRemainingWindows() override; 131 void CloseRemainingWindows() override;
132 void DeleteAllCookies() override; 132 void DeleteAllCookies() override;
133 int NavigationEntryCount() override; 133 int NavigationEntryCount() override;
134 void GoToOffset(int offset) override; 134 void GoToOffset(int offset) override;
135 void Reload() override; 135 void Reload() override;
136 void LoadURLForMainFrame(const blink::WebURL& url) override;
136 void LoadURLForFrame(const blink::WebURL& url, 137 void LoadURLForFrame(const blink::WebURL& url,
137 const std::string& frame_name) override; 138 const std::string& frame_name) override;
138 bool AllowExternalPages() override; 139 bool AllowExternalPages() override;
139 void FetchManifest( 140 void FetchManifest(
140 blink::WebView* view, 141 blink::WebView* view,
141 const GURL& url, 142 const GURL& url,
142 const base::Callback<void(const blink::WebURLResponse& response, 143 const base::Callback<void(const blink::WebURLResponse& response,
143 const std::string& data)>& callback) override; 144 const std::string& data)>& callback) override;
144 void SetPermission(const std::string& name, 145 void SetPermission(const std::string& name,
145 const std::string& value, 146 const std::string& value,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; 224 std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
224 225
225 std::unique_ptr<LeakDetector> leak_detector_; 226 std::unique_ptr<LeakDetector> leak_detector_;
226 227
227 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 228 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
228 }; 229 };
229 230
230 } // namespace content 231 } // namespace content
231 232
232 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 233 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698