| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 virtual void RunShellDrag(View* view, | 251 virtual void RunShellDrag(View* view, |
| 252 const ui::OSExchangeData& data, | 252 const ui::OSExchangeData& data, |
| 253 const gfx::Point& location, | 253 const gfx::Point& location, |
| 254 int operation) OVERRIDE; | 254 int operation) OVERRIDE; |
| 255 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 255 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 256 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 256 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 257 virtual void ClearNativeFocus() OVERRIDE; | 257 virtual void ClearNativeFocus() OVERRIDE; |
| 258 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | 258 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; |
| 259 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 259 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 260 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 260 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
| 261 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE; | 261 virtual Widget::MoveLoopResult RunMoveLoop( |
| 262 const gfx::Point& drag_offset) OVERRIDE; |
| 262 virtual void EndMoveLoop() OVERRIDE; | 263 virtual void EndMoveLoop() OVERRIDE; |
| 263 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 264 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 264 | 265 |
| 265 protected: | 266 protected: |
| 266 // Information saved before going into fullscreen mode, used to restore the | 267 // Information saved before going into fullscreen mode, used to restore the |
| 267 // window afterwards. | 268 // window afterwards. |
| 268 struct SavedWindowInfo { | 269 struct SavedWindowInfo { |
| 269 bool maximized; | 270 bool maximized; |
| 270 LONG style; | 271 LONG style; |
| 271 LONG ex_style; | 272 LONG ex_style; |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 | 682 |
| 682 // The set of touch devices currently down. | 683 // The set of touch devices currently down. |
| 683 TouchIDs touch_ids_; | 684 TouchIDs touch_ids_; |
| 684 | 685 |
| 685 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 686 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 686 }; | 687 }; |
| 687 | 688 |
| 688 } // namespace views | 689 } // namespace views |
| 689 | 690 |
| 690 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 691 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |