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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 virtual void Restore() OVERRIDE; | 150 virtual void Restore() OVERRIDE; |
151 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 151 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
152 virtual bool IsFullscreen() const OVERRIDE; | 152 virtual bool IsFullscreen() const OVERRIDE; |
153 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 153 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
154 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 154 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
155 virtual void FlashFrame(bool flash) OVERRIDE; | 155 virtual void FlashFrame(bool flash) OVERRIDE; |
156 virtual bool IsAccessibleWidget() const OVERRIDE; | 156 virtual bool IsAccessibleWidget() const OVERRIDE; |
157 virtual void RunShellDrag(View* view, | 157 virtual void RunShellDrag(View* view, |
158 const ui::OSExchangeData& data, | 158 const ui::OSExchangeData& data, |
159 const gfx::Point& location, | 159 const gfx::Point& location, |
160 int operation) OVERRIDE; | 160 int operation, |
| 161 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
161 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 162 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
162 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 163 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
163 virtual void ClearNativeFocus() OVERRIDE; | 164 virtual void ClearNativeFocus() OVERRIDE; |
164 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 165 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
165 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 166 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
166 virtual Widget::MoveLoopResult RunMoveLoop( | 167 virtual Widget::MoveLoopResult RunMoveLoop( |
167 const gfx::Vector2d& drag_offset) OVERRIDE; | 168 const gfx::Vector2d& drag_offset) OVERRIDE; |
168 virtual void EndMoveLoop() OVERRIDE; | 169 virtual void EndMoveLoop() OVERRIDE; |
169 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 170 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
170 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; | 171 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 bool has_non_client_view_; | 303 bool has_non_client_view_; |
303 | 304 |
304 scoped_ptr<HWNDMessageHandler> message_handler_; | 305 scoped_ptr<HWNDMessageHandler> message_handler_; |
305 | 306 |
306 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 307 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
307 }; | 308 }; |
308 | 309 |
309 } // namespace views | 310 } // namespace views |
310 | 311 |
311 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 312 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |