| 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 #ifndef UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ |   5 #ifndef UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ | 
|   6 #define UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ |   6 #define UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ | 
|   7  |   7  | 
|   8 #include <map> |   8 #include <map> | 
|   9  |   9  | 
|  10 #include "base/basictypes.h" |  10 #include "base/basictypes.h" | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  47  |  47  | 
|  48     DISALLOW_COPY_AND_ASSIGN(TestApi); |  48     DISALLOW_COPY_AND_ASSIGN(TestApi); | 
|  49   }; |  49   }; | 
|  50  |  50  | 
|  51   explicit ShadowController(aura::client::ActivationClient* activation_client); |  51   explicit ShadowController(aura::client::ActivationClient* activation_client); | 
|  52   virtual ~ShadowController(); |  52   virtual ~ShadowController(); | 
|  53  |  53  | 
|  54   // aura::client::ActivationChangeObserver overrides: |  54   // aura::client::ActivationChangeObserver overrides: | 
|  55   virtual void OnWindowActivated(aura::Window* gained_active, |  55   virtual void OnWindowActivated(aura::Window* gained_active, | 
|  56                                  aura::Window* lost_active) OVERRIDE; |  56                                  aura::Window* lost_active) OVERRIDE; | 
 |  57   virtual void OnWindowActivationRequestCompleted( | 
 |  58       aura::Window* request_active, aura::Window* actual_active) OVERRIDE; | 
|  57  |  59  | 
|  58  private: |  60  private: | 
|  59   class Impl; |  61   class Impl; | 
|  60  |  62  | 
|  61   aura::client::ActivationClient* activation_client_; |  63   aura::client::ActivationClient* activation_client_; | 
|  62  |  64  | 
|  63   scoped_refptr<Impl> impl_; |  65   scoped_refptr<Impl> impl_; | 
|  64  |  66  | 
|  65   DISALLOW_COPY_AND_ASSIGN(ShadowController); |  67   DISALLOW_COPY_AND_ASSIGN(ShadowController); | 
|  66 }; |  68 }; | 
|  67  |  69  | 
|  68 }  // namespace corewm |  70 }  // namespace corewm | 
|  69 }  // namespace views |  71 }  // namespace views | 
|  70  |  72  | 
|  71 #endif  // UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ |  73 #endif  // UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ | 
| OLD | NEW |