| 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/root_window_controller.h" | 5 #include "ash/root_window_controller.h" |
| 6 | 6 |
| 7 #include <queue> | 7 #include <queue> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_constants.h" | 10 #include "ash/ash_constants.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 virtual void OnWindowDestroying() OVERRIDE {} | 191 virtual void OnWindowDestroying() OVERRIDE {} |
| 192 virtual void OnWindowDestroyed() OVERRIDE { | 192 virtual void OnWindowDestroyed() OVERRIDE { |
| 193 delete this; | 193 delete this; |
| 194 } | 194 } |
| 195 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE { | 195 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE { |
| 196 } | 196 } |
| 197 virtual bool HasHitTestMask() const OVERRIDE { | 197 virtual bool HasHitTestMask() const OVERRIDE { |
| 198 return false; | 198 return false; |
| 199 } | 199 } |
| 200 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} | 200 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} |
| 201 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE { | 201 virtual void DidRecreateLayer(ui::Layer* old_layer, |
| 202 NOTREACHED(); | 202 ui::Layer* new_layer) OVERRIDE {} |
| 203 return scoped_refptr<ui::Texture>(); | |
| 204 } | |
| 205 | 203 |
| 206 private: | 204 private: |
| 207 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); | 205 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); |
| 208 }; | 206 }; |
| 209 | 207 |
| 210 } // namespace | 208 } // namespace |
| 211 | 209 |
| 212 namespace internal { | 210 namespace internal { |
| 213 | 211 |
| 214 RootWindowController::RootWindowController(aura::RootWindow* root_window) | 212 RootWindowController::RootWindowController(aura::RootWindow* root_window) |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 DisableTouchHudProjection(); | 816 DisableTouchHudProjection(); |
| 819 } | 817 } |
| 820 | 818 |
| 821 RootWindowController* GetRootWindowController( | 819 RootWindowController* GetRootWindowController( |
| 822 const aura::RootWindow* root_window) { | 820 const aura::RootWindow* root_window) { |
| 823 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; | 821 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; |
| 824 } | 822 } |
| 825 | 823 |
| 826 } // namespace internal | 824 } // namespace internal |
| 827 } // namespace ash | 825 } // namespace ash |
| OLD | NEW |