| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_SHELL_SHELL_H_ |
| 6 #define UI_AURA_SHELL_SHELL_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" |
| 11 #include "ui/aura/desktop_delegate.h" |
| 12 |
| 13 namespace aura { |
| 14 class Window; |
| 15 } |
| 16 |
| 17 namespace aura_shell { |
| 18 |
| 19 class Shell : public aura::DesktopDelegate { |
| 20 public: |
| 21 Shell(); |
| 22 virtual ~Shell(); |
| 23 |
| 24 void Init(); |
| 25 |
| 26 private: |
| 27 aura::Window* GetContainer(int container_id); |
| 28 const aura::Window* GetContainer(int container_id) const; |
| 29 |
| 30 // Overridden from aura::DesktopDelegate: |
| 31 virtual void AddChildToDefaultParent(aura::Window* window) OVERRIDE; |
| 32 virtual aura::Window* GetTopmostWindowToActivate( |
| 33 aura::Window* ignore) const OVERRIDE; |
| 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 36 }; |
| 37 |
| 38 } // namespace aura_shell |
| 39 |
| 40 #endif // UI_AURA_SHELL_SHELL_H_ |
| OLD | NEW |