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_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 virtual void Restore() OVERRIDE; | 107 virtual void Restore() OVERRIDE; |
108 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 108 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
109 virtual bool IsFullscreen() const OVERRIDE; | 109 virtual bool IsFullscreen() const OVERRIDE; |
110 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 110 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
111 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 111 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
112 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 112 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
113 virtual bool IsAccessibleWidget() const OVERRIDE; | 113 virtual bool IsAccessibleWidget() const OVERRIDE; |
114 virtual void RunShellDrag(View* view, | 114 virtual void RunShellDrag(View* view, |
115 const ui::OSExchangeData& data, | 115 const ui::OSExchangeData& data, |
116 const gfx::Point& location, | 116 const gfx::Point& location, |
117 int operation) OVERRIDE; | 117 int operation, |
| 118 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
118 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 119 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
119 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 120 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
120 virtual void ClearNativeFocus() OVERRIDE; | 121 virtual void ClearNativeFocus() OVERRIDE; |
121 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 122 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
122 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 123 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
123 virtual Widget::MoveLoopResult RunMoveLoop( | 124 virtual Widget::MoveLoopResult RunMoveLoop( |
124 const gfx::Vector2d& drag_offset) OVERRIDE; | 125 const gfx::Vector2d& drag_offset) OVERRIDE; |
125 virtual void EndMoveLoop() OVERRIDE; | 126 virtual void EndMoveLoop() OVERRIDE; |
126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 127 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
127 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; | 128 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 207 |
207 scoped_ptr<DropHelper> drop_helper_; | 208 scoped_ptr<DropHelper> drop_helper_; |
208 int last_drop_operation_; | 209 int last_drop_operation_; |
209 | 210 |
210 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 211 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
211 }; | 212 }; |
212 | 213 |
213 } // namespace views | 214 } // namespace views |
214 | 215 |
215 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 216 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |