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_VIEWS_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "views/widget/native_widget.h" | 10 #include "views/widget/native_widget.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 69 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
70 virtual void BecomeModal() OVERRIDE; | 70 virtual void BecomeModal() OVERRIDE; |
71 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 71 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
72 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 72 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
73 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 73 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
74 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 74 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
75 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 75 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
76 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 76 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
77 Widget* other_widget) OVERRIDE; | 77 Widget* other_widget) OVERRIDE; |
78 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 78 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
| 79 virtual void MoveToTop() OVERRIDE; |
79 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 80 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
80 virtual void Close() OVERRIDE; | 81 virtual void Close() OVERRIDE; |
81 virtual void CloseNow() OVERRIDE; | 82 virtual void CloseNow() OVERRIDE; |
82 virtual void EnableClose(bool enable) OVERRIDE; | 83 virtual void EnableClose(bool enable) OVERRIDE; |
83 virtual void Show() OVERRIDE; | 84 virtual void Show() OVERRIDE; |
84 virtual void Hide() OVERRIDE; | 85 virtual void Hide() OVERRIDE; |
85 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 86 virtual void ShowNativeWidget(ShowState state) OVERRIDE; |
86 virtual bool IsVisible() const OVERRIDE; | 87 virtual bool IsVisible() const OVERRIDE; |
87 virtual void Activate() OVERRIDE; | 88 virtual void Activate() OVERRIDE; |
88 virtual void Deactivate() OVERRIDE; | 89 virtual void Deactivate() OVERRIDE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // The following factory is used for calls to close the NativeWidgetViews | 121 // The following factory is used for calls to close the NativeWidgetViews |
121 // instance. | 122 // instance. |
122 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_; | 123 ScopedRunnableMethodFactory<NativeWidgetViews> close_widget_factory_; |
123 | 124 |
124 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 125 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
125 }; | 126 }; |
126 | 127 |
127 } | 128 } |
128 | 129 |
129 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 130 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
OLD | NEW |