Chromium Code Reviews| Index: extensions/shell/browser/shell_native_app_window_aura.h |
| diff --git a/extensions/shell/browser/shell_native_app_window_aura.h b/extensions/shell/browser/shell_native_app_window_aura.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8d9018b266e9a411f2afdd9c079aa6a679462b41 |
| --- /dev/null |
| +++ b/extensions/shell/browser/shell_native_app_window_aura.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ |
| +#define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ |
| + |
| +#include "extensions/shell/browser/shell_native_app_window.h" |
| + |
| +namespace extensions { |
| + |
| +class ShellNativeAppWindowAura : public ShellNativeAppWindow { |
|
James Cook
2014/11/11 18:23:52
class comment please
Yoyo Zhou
2014/11/15 01:05:45
Done.
|
| + public: |
| + ShellNativeAppWindowAura(extensions::AppWindow* app_window, |
|
James Cook
2014/11/11 18:23:52
no need for extensions::
Yoyo Zhou
2014/11/15 01:05:45
Done.
|
| + const extensions::AppWindow::CreateParams& params); |
| + ~ShellNativeAppWindowAura() override; |
| + |
| + // ui::BaseWindow: |
| + bool IsActive() const override; |
| + gfx::NativeWindow GetNativeWindow() const override; |
| + gfx::Rect GetBounds() const override; |
| + void Show() override; |
| + void Hide() override; |
| + void Activate() override; |
| + void Deactivate() override; |
| + void SetBounds(const gfx::Rect& bounds) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowAura); |
| +}; |
| + |
| +} // namespace extensions |
| + |
| +#endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ |