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

Side by Side Diff: ui/wm/core/default_activation_client.h

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ 5 #ifndef UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_
6 #define UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ 6 #define UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 public aura::WindowObserver { 32 public aura::WindowObserver {
33 public: 33 public:
34 explicit DefaultActivationClient(aura::Window* root_window); 34 explicit DefaultActivationClient(aura::Window* root_window);
35 35
36 // Overridden from aura::client::ActivationClient: 36 // Overridden from aura::client::ActivationClient:
37 void AddObserver(aura::client::ActivationChangeObserver* observer) override; 37 void AddObserver(aura::client::ActivationChangeObserver* observer) override;
38 void RemoveObserver( 38 void RemoveObserver(
39 aura::client::ActivationChangeObserver* observer) override; 39 aura::client::ActivationChangeObserver* observer) override;
40 void ActivateWindow(aura::Window* window) override; 40 void ActivateWindow(aura::Window* window) override;
41 void DeactivateWindow(aura::Window* window) override; 41 void DeactivateWindow(aura::Window* window) override;
42 aura::Window* GetActiveWindow() override; 42 const aura::Window* GetActiveWindow() const override;
43 aura::Window* GetActivatableWindow(aura::Window* window) override; 43 aura::Window* GetActivatableWindow(aura::Window* window) override;
44 aura::Window* GetToplevelWindow(aura::Window* window) override; 44 aura::Window* GetToplevelWindow(aura::Window* window) override;
45 bool CanActivateWindow(aura::Window* window) const override; 45 bool CanActivateWindow(aura::Window* window) const override;
46 46
47 // Overridden from WindowObserver: 47 // Overridden from WindowObserver:
48 void OnWindowDestroyed(aura::Window* window) override; 48 void OnWindowDestroyed(aura::Window* window) override;
49 49
50 private: 50 private:
51 class Deleter; 51 class Deleter;
52 52
(...skipping 14 matching lines...) Expand all
67 aura::Window* last_active_; 67 aura::Window* last_active_;
68 68
69 base::ObserverList<aura::client::ActivationChangeObserver> observers_; 69 base::ObserverList<aura::client::ActivationChangeObserver> observers_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(DefaultActivationClient); 71 DISALLOW_COPY_AND_ASSIGN(DefaultActivationClient);
72 }; 72 };
73 73
74 } // namespace wm 74 } // namespace wm
75 75
76 #endif // UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_ 76 #endif // UI_WM_CORE_DEFAULT_ACTIVATION_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698