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.
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_
8 #include "base/macros.h"
9 #include "extensions/shell/browser/shell_native_app_window.h"
11 namespace extensions
{
13 // The Aura-specific parts of the app_shell NativeAppWindow implementation.
14 class ShellNativeAppWindowAura
: public ShellNativeAppWindow
{
16 ShellNativeAppWindowAura(extensions::AppWindow
* app_window
,
17 const AppWindow::CreateParams
& params
);
18 ~ShellNativeAppWindowAura() override
;
21 bool IsActive() const override
;
22 gfx::NativeWindow
GetNativeWindow() const override
;
23 gfx::Rect
GetBounds() const override
;
26 void Activate() override
;
27 void Deactivate() override
;
28 void SetBounds(const gfx::Rect
& bounds
) override
;
31 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowAura
);
34 } // namespace extensions
36 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_