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

Side by Side Diff: components/exo/wm_helper_mus.cc

Issue 2812663002: exo: Fix cursor scale when crossing displays (Closed)
Patch Set: Rebase Created 3 years, 8 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 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 "components/exo/wm_helper_mus.h" 5 #include "components/exo/wm_helper_mus.h"
6 6
7 #include "ui/aura/client/focus_client.h" 7 #include "ui/aura/client/focus_client.h"
8 #include "ui/aura/env.h" 8 #include "ui/aura/env.h"
9 #include "ui/aura/mus/focus_synchronizer.h" 9 #include "ui/aura/mus/focus_synchronizer.h"
10 #include "ui/aura/mus/window_tree_client.h" 10 #include "ui/aura/mus/window_tree_client.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 bool WMHelperMus::IsSpokenFeedbackEnabled() const { 89 bool WMHelperMus::IsSpokenFeedbackEnabled() const {
90 NOTIMPLEMENTED(); 90 NOTIMPLEMENTED();
91 return false; 91 return false;
92 } 92 }
93 93
94 void WMHelperMus::PlayEarcon(int sound_key) const { 94 void WMHelperMus::PlayEarcon(int sound_key) const {
95 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
96 } 96 }
97 97
98 void WMHelperMus::SetCursor(gfx::NativeCursor cursor) {
99 NOTIMPLEMENTED();
100 }
101
98 void WMHelperMus::OnActiveFocusClientChanged( 102 void WMHelperMus::OnActiveFocusClientChanged(
99 aura::client::FocusClient* focus_client, 103 aura::client::FocusClient* focus_client,
100 aura::Window* focus_client_root) { 104 aura::Window* focus_client_root) {
101 SetActiveFocusClient(focus_client, focus_client_root); 105 SetActiveFocusClient(focus_client, focus_client_root);
102 } 106 }
103 107
104 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus, 108 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus,
105 aura::Window* lost_focus) { 109 aura::Window* lost_focus) {
106 if (focused_window_ == gained_focus) 110 if (focused_window_ == gained_focus)
107 return; 111 return;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 NotifyWindowFocused(focused_window_, lost_focus); 152 NotifyWindowFocused(focused_window_, lost_focus);
149 } 153 }
150 154
151 aura::client::ActivationClient* WMHelperMus::GetActivationClient() { 155 aura::client::ActivationClient* WMHelperMus::GetActivationClient() {
152 return root_with_active_focus_client_ 156 return root_with_active_focus_client_
153 ? aura::client::GetActivationClient(root_with_active_focus_client_) 157 ? aura::client::GetActivationClient(root_with_active_focus_client_)
154 : nullptr; 158 : nullptr;
155 } 159 }
156 160
157 } // namespace exo 161 } // namespace exo
OLDNEW
« components/exo/wm_helper_ash.cc ('K') | « components/exo/wm_helper_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698