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

Side by Side Diff: content/shell/test_runner/test_runner_for_specific_view.cc

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
« no previous file with comments | « content/shell/test_runner/test_runner.cc ('k') | content/shell/test_runner/web_test_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "content/shell/test_runner/test_runner_for_specific_view.h" 5 #include "content/shell/test_runner/test_runner_for_specific_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <limits> 8 #include <limits>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 void TestRunnerForSpecificView::EnableUseZoomForDSF( 385 void TestRunnerForSpecificView::EnableUseZoomForDSF(
386 v8::Local<v8::Function> callback) { 386 v8::Local<v8::Function> callback) {
387 delegate()->EnableUseZoomForDSF(); 387 delegate()->EnableUseZoomForDSF();
388 PostV8Callback(callback); 388 PostV8Callback(callback);
389 } 389 }
390 390
391 void TestRunnerForSpecificView::SetColorProfile( 391 void TestRunnerForSpecificView::SetColorProfile(
392 const std::string& name, 392 const std::string& name,
393 v8::Local<v8::Function> callback) { 393 v8::Local<v8::Function> callback) {
394 delegate()->SetDeviceColorProfile(name); 394 delegate()->SetDeviceColorSpace(name);
395 PostV8Callback(callback); 395 PostV8Callback(callback);
396 } 396 }
397 397
398 void TestRunnerForSpecificView::DispatchBeforeInstallPromptEvent( 398 void TestRunnerForSpecificView::DispatchBeforeInstallPromptEvent(
399 const std::vector<std::string>& event_platforms, 399 const std::vector<std::string>& event_platforms,
400 v8::Local<v8::Function> callback) { 400 v8::Local<v8::Function> callback) {
401 delegate()->DispatchBeforeInstallPromptEvent( 401 delegate()->DispatchBeforeInstallPromptEvent(
402 event_platforms, 402 event_platforms,
403 base::Bind( 403 base::Bind(
404 &TestRunnerForSpecificView::DispatchBeforeInstallPromptCallback, 404 &TestRunnerForSpecificView::DispatchBeforeInstallPromptCallback,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 693
694 blink::WebView* TestRunnerForSpecificView::web_view() { 694 blink::WebView* TestRunnerForSpecificView::web_view() {
695 return web_view_test_proxy_base_->web_view(); 695 return web_view_test_proxy_base_->web_view();
696 } 696 }
697 697
698 WebTestDelegate* TestRunnerForSpecificView::delegate() { 698 WebTestDelegate* TestRunnerForSpecificView::delegate() {
699 return web_view_test_proxy_base_->delegate(); 699 return web_view_test_proxy_base_->delegate();
700 } 700 }
701 701
702 } // namespace test_runner 702 } // namespace test_runner
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_runner.cc ('k') | content/shell/test_runner/web_test_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698