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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 239 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
240 Widget* other_widget) OVERRIDE; | 240 Widget* other_widget) OVERRIDE; |
241 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 241 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
242 virtual void MoveToTop() OVERRIDE; | 242 virtual void MoveToTop() OVERRIDE; |
243 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 243 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
244 virtual void Close() OVERRIDE; | 244 virtual void Close() OVERRIDE; |
245 virtual void CloseNow() OVERRIDE; | 245 virtual void CloseNow() OVERRIDE; |
246 virtual void EnableClose(bool enable) OVERRIDE; | 246 virtual void EnableClose(bool enable) OVERRIDE; |
247 virtual void Show() OVERRIDE; | 247 virtual void Show() OVERRIDE; |
248 virtual void Hide() OVERRIDE; | 248 virtual void Hide() OVERRIDE; |
249 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 249 virtual void ShowMaximizedWithBounds( |
| 250 const gfx::Rect& restored_bounds) OVERRIDE; |
| 251 virtual void ShowWithState(ShowState state) OVERRIDE; |
250 virtual bool IsVisible() const OVERRIDE; | 252 virtual bool IsVisible() const OVERRIDE; |
251 virtual void Activate() OVERRIDE; | 253 virtual void Activate() OVERRIDE; |
252 virtual void Deactivate() OVERRIDE; | 254 virtual void Deactivate() OVERRIDE; |
253 virtual bool IsActive() const OVERRIDE; | 255 virtual bool IsActive() const OVERRIDE; |
254 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 256 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
255 virtual void Maximize() OVERRIDE; | 257 virtual void Maximize() OVERRIDE; |
256 virtual void Minimize() OVERRIDE; | 258 virtual void Minimize() OVERRIDE; |
257 virtual bool IsMaximized() const OVERRIDE; | 259 virtual bool IsMaximized() const OVERRIDE; |
258 virtual bool IsMinimized() const OVERRIDE; | 260 virtual bool IsMinimized() const OVERRIDE; |
259 virtual void Restore() OVERRIDE; | 261 virtual void Restore() OVERRIDE; |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 | 659 |
658 // The compositor for accelerated drawing. | 660 // The compositor for accelerated drawing. |
659 scoped_refptr<ui::Compositor> compositor_; | 661 scoped_refptr<ui::Compositor> compositor_; |
660 | 662 |
661 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 663 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
662 }; | 664 }; |
663 | 665 |
664 } // namespace views | 666 } // namespace views |
665 | 667 |
666 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 668 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |