OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual void Show() OVERRIDE; | 112 virtual void Show() OVERRIDE; |
113 virtual void Hide() OVERRIDE; | 113 virtual void Hide() OVERRIDE; |
114 virtual void ShowMaximizedWithBounds( | 114 virtual void ShowMaximizedWithBounds( |
115 const gfx::Rect& restored_bounds) OVERRIDE; | 115 const gfx::Rect& restored_bounds) OVERRIDE; |
116 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; | 116 virtual void ShowWithWindowState(ui::WindowShowState show_state) OVERRIDE; |
117 virtual bool IsVisible() const OVERRIDE; | 117 virtual bool IsVisible() const OVERRIDE; |
118 virtual void Activate() OVERRIDE; | 118 virtual void Activate() OVERRIDE; |
119 virtual void Deactivate() OVERRIDE; | 119 virtual void Deactivate() OVERRIDE; |
120 virtual bool IsActive() const OVERRIDE; | 120 virtual bool IsActive() const OVERRIDE; |
121 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 121 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 122 virtual bool IsAlwaysOnTop() const OVERRIDE; |
122 virtual void Maximize() OVERRIDE; | 123 virtual void Maximize() OVERRIDE; |
123 virtual void Minimize() OVERRIDE; | 124 virtual void Minimize() OVERRIDE; |
124 virtual bool IsMaximized() const OVERRIDE; | 125 virtual bool IsMaximized() const OVERRIDE; |
125 virtual bool IsMinimized() const OVERRIDE; | 126 virtual bool IsMinimized() const OVERRIDE; |
126 virtual void Restore() OVERRIDE; | 127 virtual void Restore() OVERRIDE; |
127 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 128 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
128 virtual bool IsFullscreen() const OVERRIDE; | 129 virtual bool IsFullscreen() const OVERRIDE; |
129 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 130 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
130 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 131 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
131 virtual void FlashFrame(bool flash) OVERRIDE; | 132 virtual void FlashFrame(bool flash) OVERRIDE; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 bool has_non_client_view_; | 269 bool has_non_client_view_; |
269 | 270 |
270 scoped_ptr<HWNDMessageHandler> message_handler_; | 271 scoped_ptr<HWNDMessageHandler> message_handler_; |
271 | 272 |
272 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 273 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
273 }; | 274 }; |
274 | 275 |
275 } // namespace views | 276 } // namespace views |
276 | 277 |
277 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 278 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |