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; | |
79 virtual bool CanHaveAlphaEnabled() const OVERRIDE; | 78 virtual bool CanHaveAlphaEnabled() const OVERRIDE; |
80 | 79 |
81 private: | 80 private: |
82 aura::Window* GetWindow() const; | 81 aura::Window* GetWindow() const; |
83 | 82 |
84 AppWindow* app_window_; | 83 AppWindow* app_window_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); | 85 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); |
87 }; | 86 }; |
88 | 87 |
89 } // namespace extensions | 88 } // namespace extensions |
90 | 89 |
91 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ | 90 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ |
OLD | NEW |