OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ |
7 | 7 |
8 #include "extensions/browser/app_window/app_window.h" | 8 #include "extensions/browser/app_window/app_window.h" |
9 #include "extensions/browser/app_window/native_app_window.h" | 9 #include "extensions/browser/app_window/native_app_window.h" |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual SkColor ActiveFrameColor() const OVERRIDE; | 68 virtual SkColor ActiveFrameColor() const OVERRIDE; |
69 virtual SkColor InactiveFrameColor() const OVERRIDE; | 69 virtual SkColor InactiveFrameColor() const OVERRIDE; |
70 virtual gfx::Insets GetFrameInsets() const OVERRIDE; | 70 virtual gfx::Insets GetFrameInsets() const OVERRIDE; |
71 virtual void ShowWithApp() OVERRIDE; | 71 virtual void ShowWithApp() OVERRIDE; |
72 virtual void HideWithApp() OVERRIDE; | 72 virtual void HideWithApp() OVERRIDE; |
73 virtual void UpdateShelfMenu() OVERRIDE; | 73 virtual void UpdateShelfMenu() OVERRIDE; |
74 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; | 74 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; |
75 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; | 75 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; |
76 virtual void SetContentSizeConstraints(const gfx::Size& min_size, | 76 virtual void SetContentSizeConstraints(const gfx::Size& min_size, |
77 const gfx::Size& max_size) OVERRIDE; | 77 const gfx::Size& max_size) OVERRIDE; |
| 78 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
78 virtual bool CanHaveAlphaEnabled() const OVERRIDE; | 79 virtual bool CanHaveAlphaEnabled() const OVERRIDE; |
79 | 80 |
80 private: | 81 private: |
81 aura::Window* GetWindow() const; | 82 aura::Window* GetWindow() const; |
82 | 83 |
83 AppWindow* app_window_; | 84 AppWindow* app_window_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); | 86 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); |
86 }; | 87 }; |
87 | 88 |
88 } // namespace extensions | 89 } // namespace extensions |
89 | 90 |
90 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ | 91 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ |
OLD | NEW |