| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/shell.h" | 5 #include "ash/shell.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/accelerators/focus_manager_factory.h" | 10 #include "ash/accelerators/focus_manager_factory.h" |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 | 939 |
| 940 //////////////////////////////////////////////////////////////////////////////// | 940 //////////////////////////////////////////////////////////////////////////////// |
| 941 // Shell, aura::client::ActivationChangeObserver implementation: | 941 // Shell, aura::client::ActivationChangeObserver implementation: |
| 942 | 942 |
| 943 void Shell::OnWindowActivated(aura::Window* gained_active, | 943 void Shell::OnWindowActivated(aura::Window* gained_active, |
| 944 aura::Window* lost_active) { | 944 aura::Window* lost_active) { |
| 945 if (gained_active) | 945 if (gained_active) |
| 946 active_root_window_ = gained_active->GetRootWindow(); | 946 active_root_window_ = gained_active->GetRootWindow(); |
| 947 } | 947 } |
| 948 | 948 |
| 949 void Shell::OnWindowActivationRequestCompleted( |
| 950 aura::Window* request_active, aura::Window* actual_active) { |
| 951 } |
| 952 |
| 949 } // namespace ash | 953 } // namespace ash |
| OLD | NEW |