OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "ui/aura/client/activation_change_observer.h" | 10 #include "ui/aura/client/activation_change_observer.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 72 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
73 virtual void SetCapture() OVERRIDE; | 73 virtual void SetCapture() OVERRIDE; |
74 virtual void ReleaseCapture() OVERRIDE; | 74 virtual void ReleaseCapture() OVERRIDE; |
75 virtual bool HasCapture() const OVERRIDE; | 75 virtual bool HasCapture() const OVERRIDE; |
76 virtual InputMethod* CreateInputMethod() OVERRIDE; | 76 virtual InputMethod* CreateInputMethod() OVERRIDE; |
77 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 77 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
78 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; | 78 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; |
79 virtual void GetWindowPlacement( | 79 virtual void GetWindowPlacement( |
80 gfx::Rect* bounds, | 80 gfx::Rect* bounds, |
81 ui::WindowShowState* maximized) const OVERRIDE; | 81 ui::WindowShowState* maximized) const OVERRIDE; |
82 virtual bool SetWindowTitle(const string16& title) OVERRIDE; | 82 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; |
83 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 83 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
84 const gfx::ImageSkia& app_icon) OVERRIDE; | 84 const gfx::ImageSkia& app_icon) OVERRIDE; |
85 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 85 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
86 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; | 86 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; |
87 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; | 87 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
88 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 88 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
89 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 89 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
90 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 90 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
91 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; | 91 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
92 virtual void StackAtTop() OVERRIDE; | 92 virtual void StackAtTop() OVERRIDE; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 scoped_ptr<DropHelper> drop_helper_; | 230 scoped_ptr<DropHelper> drop_helper_; |
231 int last_drop_operation_; | 231 int last_drop_operation_; |
232 | 232 |
233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
234 }; | 234 }; |
235 | 235 |
236 } // namespace views | 236 } // namespace views |
237 | 237 |
238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |