OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 VIEWS_WINDOW_WINDOW_GTK_H_ | 5 #ifndef VIEWS_WINDOW_WINDOW_GTK_H_ |
6 #define VIEWS_WINDOW_WINDOW_GTK_H_ | 6 #define VIEWS_WINDOW_WINDOW_GTK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "views/widget/widget_gtk.h" | 9 #include "views/widget/widget_gtk.h" |
10 #include "views/window/window.h" | 10 #include "views/window/window.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 public: | 24 public: |
25 virtual ~WindowGtk(); | 25 virtual ~WindowGtk(); |
26 | 26 |
27 // Overridden from Window: | 27 // Overridden from Window: |
28 virtual gfx::Rect GetBounds() const; | 28 virtual gfx::Rect GetBounds() const; |
29 virtual gfx::Rect GetNormalBounds() const; | 29 virtual gfx::Rect GetNormalBounds() const; |
30 virtual void SetBounds(const gfx::Rect& bounds, | 30 virtual void SetBounds(const gfx::Rect& bounds, |
31 gfx::NativeWindow other_window); | 31 gfx::NativeWindow other_window); |
32 virtual void Show(); | 32 virtual void Show(); |
33 virtual void HideWindow(); | 33 virtual void HideWindow(); |
34 virtual void PushForceHidden(); | |
35 virtual void PopForceHidden(); | |
36 virtual void Activate(); | 34 virtual void Activate(); |
37 virtual void Close(); | 35 virtual void Close(); |
38 virtual void Maximize(); | 36 virtual void Maximize(); |
39 virtual void Minimize(); | 37 virtual void Minimize(); |
40 virtual void Restore(); | 38 virtual void Restore(); |
41 virtual bool IsActive() const; | 39 virtual bool IsActive() const; |
42 virtual bool IsVisible() const; | 40 virtual bool IsVisible() const; |
43 virtual bool IsMaximized() const; | 41 virtual bool IsMaximized() const; |
44 virtual bool IsMinimized() const; | 42 virtual bool IsMinimized() const; |
45 virtual void SetFullscreen(bool fullscreen); | 43 virtual void SetFullscreen(bool fullscreen); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 111 |
114 // Set to true if the window is in the process of closing. | 112 // Set to true if the window is in the process of closing. |
115 bool window_closed_; | 113 bool window_closed_; |
116 | 114 |
117 DISALLOW_COPY_AND_ASSIGN(WindowGtk); | 115 DISALLOW_COPY_AND_ASSIGN(WindowGtk); |
118 }; | 116 }; |
119 | 117 |
120 } // namespace views | 118 } // namespace views |
121 | 119 |
122 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ | 120 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ |
OLD | NEW |