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

Side by Side Diff: content/shell/test_runner/web_test_delegate.h

Issue 2970183002: color: Use ColorSpace for plumbing (Closed)
Patch Set: Add missed places Created 3 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // a RenderView or a RenderWidget for the local root). 174 // a RenderView or a RenderWidget for the local root).
175 virtual test_runner::WebWidgetTestProxyBase* GetWebWidgetTestProxyBase( 175 virtual test_runner::WebWidgetTestProxyBase* GetWebWidgetTestProxyBase(
176 blink::WebLocalFrame* frame) = 0; 176 blink::WebLocalFrame* frame) = 0;
177 177
178 // Enable zoom-for-dsf option. 178 // Enable zoom-for-dsf option.
179 virtual void EnableUseZoomForDSF() = 0; 179 virtual void EnableUseZoomForDSF() = 0;
180 180
181 // Returns whether or not the use-zoom-for-dsf flag is enabled. 181 // Returns whether or not the use-zoom-for-dsf flag is enabled.
182 virtual bool IsUseZoomForDSFEnabled() = 0; 182 virtual bool IsUseZoomForDSFEnabled() = 0;
183 183
184 // Change the device color profile while running a layout test. 184 // Change the device color space while running a layout test.
185 virtual void SetDeviceColorProfile(const std::string& name) = 0; 185 virtual void SetDeviceColorSpace(const std::string& name) = 0;
186 186
187 // Set the bluetooth adapter while running a layout test, uses Mojo to 187 // Set the bluetooth adapter while running a layout test, uses Mojo to
188 // communicate with the browser. 188 // communicate with the browser.
189 virtual void SetBluetoothFakeAdapter(const std::string& adapter_name, 189 virtual void SetBluetoothFakeAdapter(const std::string& adapter_name,
190 const base::Closure& callback) = 0; 190 const base::Closure& callback) = 0;
191 191
192 // If |enable| is true makes the Bluetooth chooser record its input and wait 192 // If |enable| is true makes the Bluetooth chooser record its input and wait
193 // for instructions from the test program on how to proceed. Otherwise 193 // for instructions from the test program on how to proceed. Otherwise
194 // fall backs to the browser's default chooser. 194 // fall backs to the browser's default chooser.
195 virtual void SetBluetoothManualChooser(bool enable) = 0; 195 virtual void SetBluetoothManualChooser(bool enable) = 0;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 virtual bool IsNavigationInitiatedByRenderer( 301 virtual bool IsNavigationInitiatedByRenderer(
302 const blink::WebURLRequest& request) = 0; 302 const blink::WebURLRequest& request) = 0;
303 303
304 protected: 304 protected:
305 virtual ~WebTestDelegate() {} 305 virtual ~WebTestDelegate() {}
306 }; 306 };
307 307
308 } // namespace test_runner 308 } // namespace test_runner
309 309
310 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 310 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_runner_for_specific_view.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698