OLD | NEW |
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 Loading... |
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 |
OLD | NEW |