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

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

Issue 2506263002: exo: Implement support for zcr_keyboard_configuration_v1 protocol. (Closed)
Patch Set: add one more TODO Created 4 years 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 | « components/exo/wm_helper_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 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 "services/ui/public/cpp/window_tree_client.h" 7 #include "services/ui/public/cpp/window_tree_client.h"
8 #include "ui/aura/client/focus_client.h" 8 #include "ui/aura/client/focus_client.h"
9 #include "ui/aura/env.h" 9 #include "ui/aura/env.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 141 }
142 142
143 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus, 143 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus,
144 aura::Window* lost_focus) { 144 aura::Window* lost_focus) {
145 if (focused_window_ != gained_focus) { 145 if (focused_window_ != gained_focus) {
146 focused_window_ = gained_focus; 146 focused_window_ = gained_focus;
147 NotifyWindowFocused(gained_focus, lost_focus); 147 NotifyWindowFocused(gained_focus, lost_focus);
148 } 148 }
149 } 149 }
150 150
151 void WMHelperMus::OnKeyboardDeviceConfigurationChanged() {
152 NotifyKeyboardDeviceConfigurationChanged();
153 }
154
151 } // namespace exo 155 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/wm_helper_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698