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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 222 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
223 virtual void BecomeModal() OVERRIDE; | 223 virtual void BecomeModal() OVERRIDE; |
224 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 224 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
225 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 225 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
226 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 226 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
227 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 227 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
228 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 228 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
229 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 229 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
230 Widget* other_widget) OVERRIDE; | 230 Widget* other_widget) OVERRIDE; |
231 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 231 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
| 232 virtual void MoveToTop() OVERRIDE; |
232 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 233 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
233 virtual void Close() OVERRIDE; | 234 virtual void Close() OVERRIDE; |
234 virtual void CloseNow() OVERRIDE; | 235 virtual void CloseNow() OVERRIDE; |
235 virtual void EnableClose(bool enable) OVERRIDE; | 236 virtual void EnableClose(bool enable) OVERRIDE; |
236 virtual void Show() OVERRIDE; | 237 virtual void Show() OVERRIDE; |
237 virtual void Hide() OVERRIDE; | 238 virtual void Hide() OVERRIDE; |
238 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 239 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
239 virtual bool IsVisible() const OVERRIDE; | 240 virtual bool IsVisible() const OVERRIDE; |
240 virtual void Activate() OVERRIDE; | 241 virtual void Activate() OVERRIDE; |
241 virtual void Deactivate() OVERRIDE; | 242 virtual void Deactivate() OVERRIDE; |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 // Whether all ancestors have been enabled. This is only used if is_modal_ is | 655 // Whether all ancestors have been enabled. This is only used if is_modal_ is |
655 // true. | 656 // true. |
656 bool restored_enabled_; | 657 bool restored_enabled_; |
657 | 658 |
658 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 659 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
659 }; | 660 }; |
660 | 661 |
661 } // namespace views | 662 } // namespace views |
662 | 663 |
663 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 664 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |