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

Side by Side Diff: chromecast/graphics/cast_focus_client_aura.cc

Issue 2821213002: chromeos: converts ash devtools to aura::Window (Closed)
Patch Set: fix cast 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "chromecast/graphics/cast_focus_client_aura.h" 5 #include "chromecast/graphics/cast_focus_client_aura.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 8
9 #define LOG_WINDOW_INFO(top_level, window) \ 9 #define LOG_WINDOW_INFO(top_level, window) \
10 "top-level: " << (top_level)->id() << ": '" << (top_level)->GetName() \ 10 "top-level: " << (top_level)->id() << ": '" << (top_level)->GetName() \
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void CastFocusClientAura::AddObserver( 226 void CastFocusClientAura::AddObserver(
227 aura::client::ActivationChangeObserver* observer) {} 227 aura::client::ActivationChangeObserver* observer) {}
228 228
229 void CastFocusClientAura::RemoveObserver( 229 void CastFocusClientAura::RemoveObserver(
230 aura::client::ActivationChangeObserver* observer) {} 230 aura::client::ActivationChangeObserver* observer) {}
231 231
232 void CastFocusClientAura::ActivateWindow(aura::Window* window) {} 232 void CastFocusClientAura::ActivateWindow(aura::Window* window) {}
233 233
234 void CastFocusClientAura::DeactivateWindow(aura::Window* window) {} 234 void CastFocusClientAura::DeactivateWindow(aura::Window* window) {}
235 235
236 aura::Window* CastFocusClientAura::GetActiveWindow() { 236 const aura::Window* CastFocusClientAura::GetActiveWindow() const {
237 return nullptr; 237 return nullptr;
238 } 238 }
239 239
240 aura::Window* CastFocusClientAura::GetActivatableWindow(aura::Window* window) { 240 aura::Window* CastFocusClientAura::GetActivatableWindow(aura::Window* window) {
241 return window; 241 return window;
242 } 242 }
243 243
244 aura::Window* CastFocusClientAura::GetToplevelWindow(aura::Window* window) { 244 aura::Window* CastFocusClientAura::GetToplevelWindow(aura::Window* window) {
245 return GetZOrderWindow(window); 245 return GetZOrderWindow(window);
246 } 246 }
247 247
248 bool CastFocusClientAura::CanActivateWindow(aura::Window* window) const { 248 bool CastFocusClientAura::CanActivateWindow(aura::Window* window) const {
249 return true; 249 return true;
250 } 250 }
251 251
252 } // namespace chromecast 252 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698