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 class ShellNativeAppWindowAura : public ShellNativeAppWindow { | |
James Cook
2014/11/11 18:23:52
class comment please
Yoyo Zhou
2014/11/15 01:05:45
Done.
| |
13 public: | |
14 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.
| |
15 const extensions::AppWindow::CreateParams& params); | |
16 ~ShellNativeAppWindowAura() override; | |
17 | |
18 // ui::BaseWindow: | |
19 bool IsActive() const override; | |
20 gfx::NativeWindow GetNativeWindow() const override; | |
21 gfx::Rect GetBounds() const override; | |
22 void Show() override; | |
23 void Hide() override; | |
24 void Activate() override; | |
25 void Deactivate() override; | |
26 void SetBounds(const gfx::Rect& bounds) override; | |
27 | |
28 private: | |
29 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowAura); | |
30 }; | |
31 | |
32 } // namespace extensions | |
33 | |
34 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_AURA_H_ | |
OLD | NEW |