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

Side by Side Diff: ui/views/mus/window_tree_host_mus.cc

Issue 2345283002: aura: Allow platform to choose how it retrieves ICCProfile. (Closed)
Patch Set: . Created 4 years, 3 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 | « ui/views/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/views/mus/window_tree_host_mus.h" 5 #include "ui/views/mus/window_tree_host_mus.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "services/ui/public/cpp/window.h" 8 #include "services/ui/public/cpp/window.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/aura/window_event_dispatcher.h" 10 #include "ui/aura/window_event_dispatcher.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 GetInputMethod()->OnBlur(); 87 GetInputMethod()->OnBlur();
88 if (native_widget_) 88 if (native_widget_)
89 native_widget_->OnActivationChanged(active); 89 native_widget_->OnActivationChanged(active);
90 WindowTreeHostPlatform::OnActivationChanged(active); 90 WindowTreeHostPlatform::OnActivationChanged(active);
91 } 91 }
92 92
93 void WindowTreeHostMus::OnCloseRequest() { 93 void WindowTreeHostMus::OnCloseRequest() {
94 OnHostCloseRequested(); 94 OnHostCloseRequested();
95 } 95 }
96 96
97 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() {
98 // TODO: This should read the profile from mus. crbug.com/647510
99 return gfx::ICCProfile();
100 }
101
97 } // namespace views 102 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698