OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 236 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
237 Widget* other_widget) OVERRIDE; | 237 Widget* other_widget) OVERRIDE; |
238 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 238 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
239 virtual void MoveToTop() OVERRIDE; | 239 virtual void MoveToTop() OVERRIDE; |
240 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 240 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
241 virtual void Close() OVERRIDE; | 241 virtual void Close() OVERRIDE; |
242 virtual void CloseNow() OVERRIDE; | 242 virtual void CloseNow() OVERRIDE; |
243 virtual void EnableClose(bool enable) OVERRIDE; | 243 virtual void EnableClose(bool enable) OVERRIDE; |
244 virtual void Show() OVERRIDE; | 244 virtual void Show() OVERRIDE; |
245 virtual void Hide() OVERRIDE; | 245 virtual void Hide() OVERRIDE; |
| 246 virtual void ShowMaximized(const gfx::Rect& restored_bounds) OVERRIDE; |
246 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 247 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
247 virtual bool IsVisible() const OVERRIDE; | 248 virtual bool IsVisible() const OVERRIDE; |
248 virtual void Activate() OVERRIDE; | 249 virtual void Activate() OVERRIDE; |
249 virtual void Deactivate() OVERRIDE; | 250 virtual void Deactivate() OVERRIDE; |
250 virtual bool IsActive() const OVERRIDE; | 251 virtual bool IsActive() const OVERRIDE; |
251 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 252 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
252 virtual void Maximize() OVERRIDE; | 253 virtual void Maximize() OVERRIDE; |
253 virtual void Minimize() OVERRIDE; | 254 virtual void Minimize() OVERRIDE; |
254 virtual bool IsMaximized() const OVERRIDE; | 255 virtual bool IsMaximized() const OVERRIDE; |
255 virtual bool IsMinimized() const OVERRIDE; | 256 virtual bool IsMinimized() const OVERRIDE; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 | 663 |
663 // The compositor for accelerated drawing. | 664 // The compositor for accelerated drawing. |
664 scoped_refptr<ui::Compositor> compositor_; | 665 scoped_refptr<ui::Compositor> compositor_; |
665 | 666 |
666 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 667 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
667 }; | 668 }; |
668 | 669 |
669 } // namespace views | 670 } // namespace views |
670 | 671 |
671 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 672 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |