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 <map> | 9 #include <map> |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const SkBitmap& app_icon) OVERRIDE; | 94 const SkBitmap& app_icon) OVERRIDE; |
95 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 95 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
96 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 96 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
97 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 97 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
98 virtual void BecomeModal() OVERRIDE; | 98 virtual void BecomeModal() OVERRIDE; |
99 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 99 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
100 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 100 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
101 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 101 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
102 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 102 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
103 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 103 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
104 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | |
105 Widget* other_widget) OVERRIDE; | |
106 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 104 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
107 virtual void MoveToTop() OVERRIDE; | 105 virtual void MoveToTop() OVERRIDE; |
108 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 106 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
109 virtual void Close() OVERRIDE; | 107 virtual void Close() OVERRIDE; |
110 virtual void CloseNow() OVERRIDE; | 108 virtual void CloseNow() OVERRIDE; |
111 virtual void EnableClose(bool enable) OVERRIDE; | 109 virtual void EnableClose(bool enable) OVERRIDE; |
112 virtual void Show() OVERRIDE; | 110 virtual void Show() OVERRIDE; |
113 virtual void Hide() OVERRIDE; | 111 virtual void Hide() OVERRIDE; |
114 virtual void ShowMaximizedWithBounds( | 112 virtual void ShowMaximizedWithBounds( |
115 const gfx::Rect& restored_bounds) OVERRIDE; | 113 const gfx::Rect& restored_bounds) OVERRIDE; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 181 |
184 // Map used by Set/GetNativeWindowProperty. | 182 // Map used by Set/GetNativeWindowProperty. |
185 PropsMap props_map_; | 183 PropsMap props_map_; |
186 | 184 |
187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 185 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
188 }; | 186 }; |
189 | 187 |
190 } // namespace views | 188 } // namespace views |
191 | 189 |
192 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 190 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
OLD | NEW |