Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ | |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ | |
| 7 | |
| 8 #include "extensions/shell/browser/shell_native_app_window.h" | |
| 9 | |
| 10 #include "base/macros.h" | |
|
James Cook
2014/11/18 00:12:27
ditto
| |
| 11 | |
| 12 namespace extensions { | |
| 13 | |
| 14 // The Aura-specific parts of the app_shell NativeAppWindow implementation. | |
| 15 class ShellNativeAppWindowAura : public ShellNativeAppWindow { | |
| 16 public: | |
| 17 ShellNativeAppWindowAura(extensions::AppWindow* app_window, | |
| 18 const AppWindow::CreateParams& params); | |
| 19 ~ShellNativeAppWindowAura() override; | |
| 20 | |
| 21 // ui::BaseWindow: | |
| 22 bool IsActive() const override; | |
| 23 gfx::NativeWindow GetNativeWindow() const override; | |
| 24 gfx::Rect GetBounds() const override; | |
| 25 void Show() override; | |
| 26 void Hide() override; | |
| 27 void Activate() override; | |
| 28 void Deactivate() override; | |
| 29 void SetBounds(const gfx::Rect& bounds) override; | |
| 30 | |
| 31 private: | |
| 32 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowAura); | |
| 33 }; | |
| 34 | |
| 35 } // namespace extensions | |
| 36 | |
| 37 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ | |
| OLD | NEW |