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

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

Issue 2890733005: Refactor backdrop that is currently used in the maximized mode. (Closed)
Patch Set: fix memory issue in AshTouchExplorationManager Created 3 years, 7 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 | « components/exo/wm_helper_mus.h ('k') | ui/aura/client/aura_constants.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 "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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 void WMHelperMus::RemovePostTargetHandler(ui::EventHandler* handler) { 80 void WMHelperMus::RemovePostTargetHandler(ui::EventHandler* handler) {
81 aura::Env::GetInstance()->RemovePostTargetHandler(handler); 81 aura::Env::GetInstance()->RemovePostTargetHandler(handler);
82 } 82 }
83 83
84 bool WMHelperMus::IsMaximizeModeWindowManagerEnabled() const { 84 bool WMHelperMus::IsMaximizeModeWindowManagerEnabled() const {
85 NOTIMPLEMENTED(); 85 NOTIMPLEMENTED();
86 return false; 86 return false;
87 } 87 }
88 88
89 bool WMHelperMus::IsSpokenFeedbackEnabled() const {
90 NOTIMPLEMENTED();
91 return false;
92 }
93
94 void WMHelperMus::PlayEarcon(int sound_key) const {
95 NOTIMPLEMENTED();
96 }
97
98 void WMHelperMus::OnActiveFocusClientChanged( 89 void WMHelperMus::OnActiveFocusClientChanged(
99 aura::client::FocusClient* focus_client, 90 aura::client::FocusClient* focus_client,
100 aura::Window* focus_client_root) { 91 aura::Window* focus_client_root) {
101 SetActiveFocusClient(focus_client, focus_client_root); 92 SetActiveFocusClient(focus_client, focus_client_root);
102 } 93 }
103 94
104 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus, 95 void WMHelperMus::OnWindowFocused(aura::Window* gained_focus,
105 aura::Window* lost_focus) { 96 aura::Window* lost_focus) {
106 if (focused_window_ == gained_focus) 97 if (focused_window_ == gained_focus)
107 return; 98 return;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 NotifyWindowFocused(focused_window_, lost_focus); 139 NotifyWindowFocused(focused_window_, lost_focus);
149 } 140 }
150 141
151 aura::client::ActivationClient* WMHelperMus::GetActivationClient() { 142 aura::client::ActivationClient* WMHelperMus::GetActivationClient() {
152 return root_with_active_focus_client_ 143 return root_with_active_focus_client_
153 ? aura::client::GetActivationClient(root_with_active_focus_client_) 144 ? aura::client::GetActivationClient(root_with_active_focus_client_)
154 : nullptr; 145 : nullptr;
155 } 146 }
156 147
157 } // namespace exo 148 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/wm_helper_mus.h ('k') | ui/aura/client/aura_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698