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