| 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 28 matching lines...) Expand all Loading... |
| 39 virtual bool IsActive() const; | 39 virtual bool IsActive() const; |
| 40 virtual bool IsVisible() const; | 40 virtual bool IsVisible() const; |
| 41 virtual bool IsMaximized() const; | 41 virtual bool IsMaximized() const; |
| 42 virtual bool IsMinimized() const; | 42 virtual bool IsMinimized() const; |
| 43 virtual void SetFullscreen(bool fullscreen); | 43 virtual void SetFullscreen(bool fullscreen); |
| 44 virtual bool IsFullscreen() const; | 44 virtual bool IsFullscreen() const; |
| 45 virtual void EnableClose(bool enable); | 45 virtual void EnableClose(bool enable); |
| 46 virtual void DisableInactiveRendering(); | 46 virtual void DisableInactiveRendering(); |
| 47 virtual void UpdateWindowTitle(); | 47 virtual void UpdateWindowTitle(); |
| 48 virtual void UpdateWindowIcon(); | 48 virtual void UpdateWindowIcon(); |
| 49 virtual void SetIsAlwaysOnTop(bool always_on_top); |
| 49 virtual NonClientFrameView* CreateFrameViewForWindow(); | 50 virtual NonClientFrameView* CreateFrameViewForWindow(); |
| 50 virtual void UpdateFrameAfterFrameChange(); | 51 virtual void UpdateFrameAfterFrameChange(); |
| 51 virtual WindowDelegate* GetDelegate() const; | 52 virtual WindowDelegate* GetDelegate() const; |
| 52 virtual NonClientView* GetNonClientView() const; | 53 virtual NonClientView* GetNonClientView() const; |
| 53 virtual ClientView* GetClientView() const; | 54 virtual ClientView* GetClientView() const; |
| 54 virtual gfx::NativeWindow GetNativeWindow() const; | 55 virtual gfx::NativeWindow GetNativeWindow() const; |
| 55 | 56 |
| 56 virtual Window* AsWindow() { return this; } | 57 virtual Window* AsWindow() { return this; } |
| 57 virtual const Window* AsWindow() const { return this; } | 58 virtual const Window* AsWindow() const { return this; } |
| 58 | 59 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 83 // the default, this class must be subclassed and this value set to the | 84 // the default, this class must be subclassed and this value set to the |
| 84 // desired implementation before calling |Init|. | 85 // desired implementation before calling |Init|. |
| 85 NonClientView* non_client_view_; | 86 NonClientView* non_client_view_; |
| 86 | 87 |
| 87 DISALLOW_COPY_AND_ASSIGN(WindowGtk); | 88 DISALLOW_COPY_AND_ASSIGN(WindowGtk); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace views | 91 } // namespace views |
| 91 | 92 |
| 92 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ | 93 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ |
| OLD | NEW |