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 <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 virtual void RunShellDrag(View* view, | 254 virtual void RunShellDrag(View* view, |
255 const ui::OSExchangeData& data, | 255 const ui::OSExchangeData& data, |
256 const gfx::Point& location, | 256 const gfx::Point& location, |
257 int operation) OVERRIDE; | 257 int operation) OVERRIDE; |
258 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 258 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
259 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 259 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
260 virtual void ClearNativeFocus() OVERRIDE; | 260 virtual void ClearNativeFocus() OVERRIDE; |
261 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | 261 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; |
262 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 262 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
263 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 263 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
264 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE; | 264 virtual Widget::MoveLoopResult RunMoveLoop( |
| 265 const gfx::Point& drag_offset) OVERRIDE; |
265 virtual void EndMoveLoop() OVERRIDE; | 266 virtual void EndMoveLoop() OVERRIDE; |
266 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 267 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
267 | 268 |
268 protected: | 269 protected: |
269 // Information saved before going into fullscreen mode, used to restore the | 270 // Information saved before going into fullscreen mode, used to restore the |
270 // window afterwards. | 271 // window afterwards. |
271 struct SavedWindowInfo { | 272 struct SavedWindowInfo { |
272 bool maximized; | 273 bool maximized; |
273 LONG style; | 274 LONG style; |
274 LONG ex_style; | 275 LONG ex_style; |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 TouchIDs touch_ids_; | 704 TouchIDs touch_ids_; |
704 | 705 |
705 scoped_ptr<HWNDMessageHandler> message_handler_; | 706 scoped_ptr<HWNDMessageHandler> message_handler_; |
706 | 707 |
707 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 708 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
708 }; | 709 }; |
709 | 710 |
710 } // namespace views | 711 } // namespace views |
711 | 712 |
712 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 713 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |