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