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 "ui/gfx/transform.h" | 10 #include "ui/gfx/transform.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | 92 virtual void SetBoundsConstrained(const gfx::Rect& bounds, |
93 Widget* other_widget) OVERRIDE; | 93 Widget* other_widget) OVERRIDE; |
94 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 94 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
95 virtual void MoveToTop() OVERRIDE; | 95 virtual void MoveToTop() OVERRIDE; |
96 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 96 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
97 virtual void Close() OVERRIDE; | 97 virtual void Close() OVERRIDE; |
98 virtual void CloseNow() OVERRIDE; | 98 virtual void CloseNow() OVERRIDE; |
99 virtual void EnableClose(bool enable) OVERRIDE; | 99 virtual void EnableClose(bool enable) OVERRIDE; |
100 virtual void Show() OVERRIDE; | 100 virtual void Show() OVERRIDE; |
101 virtual void Hide() OVERRIDE; | 101 virtual void Hide() OVERRIDE; |
102 virtual void ShowNativeWidget(ShowState state) OVERRIDE; | 102 virtual void ShowMaximizedWithBounds( |
| 103 const gfx::Rect& restored_bounds) OVERRIDE; |
| 104 virtual void ShowWithState(ShowState state) OVERRIDE; |
103 virtual bool IsVisible() const OVERRIDE; | 105 virtual bool IsVisible() const OVERRIDE; |
104 virtual void Activate() OVERRIDE; | 106 virtual void Activate() OVERRIDE; |
105 virtual void Deactivate() OVERRIDE; | 107 virtual void Deactivate() OVERRIDE; |
106 virtual bool IsActive() const OVERRIDE; | 108 virtual bool IsActive() const OVERRIDE; |
107 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 109 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
108 virtual void Maximize() OVERRIDE; | 110 virtual void Maximize() OVERRIDE; |
109 virtual void Minimize() OVERRIDE; | 111 virtual void Minimize() OVERRIDE; |
110 virtual bool IsMaximized() const OVERRIDE; | 112 virtual bool IsMaximized() const OVERRIDE; |
111 virtual bool IsMinimized() const OVERRIDE; | 113 virtual bool IsMinimized() const OVERRIDE; |
112 virtual void Restore() OVERRIDE; | 114 virtual void Restore() OVERRIDE; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 bool delete_native_view_; | 156 bool delete_native_view_; |
155 | 157 |
156 scoped_ptr<InputMethod> input_method_; | 158 scoped_ptr<InputMethod> input_method_; |
157 | 159 |
158 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 160 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
159 }; | 161 }; |
160 | 162 |
161 } // namespace views | 163 } // namespace views |
162 | 164 |
163 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 165 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
OLD | NEW |