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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const SkBitmap& app_icon) OVERRIDE; | 75 const SkBitmap& app_icon) OVERRIDE; |
76 virtual void SetAccessibleName(const string16& name) OVERRIDE; | 76 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
77 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; | 77 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
78 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; | 78 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
79 virtual void BecomeModal() OVERRIDE; | 79 virtual void BecomeModal() OVERRIDE; |
80 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; | 80 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; |
81 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; | 81 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; |
82 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 82 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
83 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 83 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
84 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 84 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
85 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; | 85 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
86 virtual void MoveToTop() OVERRIDE; | 86 virtual void StackAtTop() OVERRIDE; |
87 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 87 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
88 virtual void Close() OVERRIDE; | 88 virtual void Close() OVERRIDE; |
89 virtual void CloseNow() OVERRIDE; | 89 virtual void CloseNow() OVERRIDE; |
90 virtual void EnableClose(bool enable) OVERRIDE; | 90 virtual void EnableClose(bool enable) OVERRIDE; |
91 virtual void Show() OVERRIDE; | 91 virtual void Show() OVERRIDE; |
92 virtual void Hide() OVERRIDE; | 92 virtual void Hide() OVERRIDE; |
93 virtual void ShowMaximizedWithBounds( | 93 virtual void ShowMaximizedWithBounds( |
94 const gfx::Rect& restored_bounds) OVERRIDE; | 94 const gfx::Rect& restored_bounds) OVERRIDE; |
95 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; | 95 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; |
96 virtual bool IsVisible() const OVERRIDE; | 96 virtual bool IsVisible() const OVERRIDE; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 scoped_ptr<DesktopObserverImpl> desktop_observer_; | 177 scoped_ptr<DesktopObserverImpl> desktop_observer_; |
178 | 178 |
179 scoped_ptr<DropHelper> drop_helper_; | 179 scoped_ptr<DropHelper> drop_helper_; |
180 | 180 |
181 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 181 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
182 }; | 182 }; |
183 | 183 |
184 } // namespace views | 184 } // namespace views |
185 | 185 |
186 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 186 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |