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_AURA_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const SkBitmap& app_icon) OVERRIDE; | 72 const SkBitmap& app_icon) OVERRIDE; |
73 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 73 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
74 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 74 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
75 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 75 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
76 virtual void BecomeModal() OVERRIDE; | 76 virtual void BecomeModal() OVERRIDE; |
77 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 77 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
78 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 78 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
79 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 79 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
80 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 80 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
81 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 81 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
82 virtual void SetBoundsConstrained(const gfx::Rect& bounds, | |
83 Widget* other_widget) OVERRIDE; | |
84 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 82 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; |
85 virtual void MoveToTop() OVERRIDE; | 83 virtual void MoveToTop() OVERRIDE; |
86 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 84 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
87 virtual void Close() OVERRIDE; | 85 virtual void Close() OVERRIDE; |
88 virtual void CloseNow() OVERRIDE; | 86 virtual void CloseNow() OVERRIDE; |
89 virtual void EnableClose(bool enable) OVERRIDE; | 87 virtual void EnableClose(bool enable) OVERRIDE; |
90 virtual void Show() OVERRIDE; | 88 virtual void Show() OVERRIDE; |
91 virtual void Hide() OVERRIDE; | 89 virtual void Hide() OVERRIDE; |
92 virtual void ShowMaximizedWithBounds( | 90 virtual void ShowMaximizedWithBounds( |
93 const gfx::Rect& restored_bounds) OVERRIDE; | 91 const gfx::Rect& restored_bounds) OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 scoped_ptr<TooltipManagerViews> tooltip_manager_; | 161 scoped_ptr<TooltipManagerViews> tooltip_manager_; |
164 | 162 |
165 scoped_ptr<DesktopObserverImpl> desktop_observer_; | 163 scoped_ptr<DesktopObserverImpl> desktop_observer_; |
166 | 164 |
167 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 165 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
168 }; | 166 }; |
169 | 167 |
170 } // namespace views | 168 } // namespace views |
171 | 169 |
172 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 170 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |