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

Side by Side Diff: headless/lib/browser/headless_window_tree_host.cc

Issue 2950183002: color: Use ICCProfile from display::Display instead of FromBestMonitor (Closed)
Patch Set: Use forced color profile in display::Display ctor Created 3 years, 6 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 | « headless/lib/browser/headless_window_tree_host.h ('k') | ui/aura/mus/window_tree_host_mus.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 "headless/lib/browser/headless_window_tree_host.h" 5 #include "headless/lib/browser/headless_window_tree_host.h"
6 6
7 #include "headless/lib/browser/headless_focus_client.h" 7 #include "headless/lib/browser/headless_focus_client.h"
8 #include "headless/lib/browser/headless_window_parenting_client.h" 8 #include "headless/lib/browser/headless_window_parenting_client.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/gfx/icc_profile.h" 10 #include "ui/gfx/icc_profile.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 void HeadlessWindowTreeHost::ReleaseCapture() {} 73 void HeadlessWindowTreeHost::ReleaseCapture() {}
74 74
75 void HeadlessWindowTreeHost::SetCursorNative(gfx::NativeCursor cursor_type) {} 75 void HeadlessWindowTreeHost::SetCursorNative(gfx::NativeCursor cursor_type) {}
76 76
77 void HeadlessWindowTreeHost::MoveCursorToScreenLocationInPixels( 77 void HeadlessWindowTreeHost::MoveCursorToScreenLocationInPixels(
78 const gfx::Point& location) {} 78 const gfx::Point& location) {}
79 79
80 void HeadlessWindowTreeHost::OnCursorVisibilityChangedNative(bool show) {} 80 void HeadlessWindowTreeHost::OnCursorVisibilityChangedNative(bool show) {}
81 81
82 gfx::ICCProfile HeadlessWindowTreeHost::GetICCProfileForCurrentDisplay() {
83 return gfx::ICCProfile();
84 }
85
86 } // namespace headless 82 } // namespace headless
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_window_tree_host.h ('k') | ui/aura/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698