Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 10828133: Desktop Aura: Allow tab drags out of window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make sure we have a valid system location Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/native_widget_win.cc
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
index 4f5f591c15403104034633b7ada376aa618159d8..ade20384d3c88694c563183e1927c6eca857bcc6 100644
--- a/ui/views/widget/native_widget_win.cc
+++ b/ui/views/widget/native_widget_win.cc
@@ -1174,7 +1174,8 @@ gfx::Rect NativeWidgetWin::GetWorkAreaBoundsInScreen() const {
void NativeWidgetWin::SetInactiveRenderingDisabled(bool value) {
}
-Widget::MoveLoopResult NativeWidgetWin::RunMoveLoop() {
+Widget::MoveLoopResult NativeWidgetWin::RunMoveLoop(
+ const gfx::Point& drag_offset) {
ReleaseCapture();
MoveLoopMouseWatcher watcher(this);
SendMessage(hwnd(), WM_SYSCOMMAND, SC_MOVE | 0x0002, GetMessagePos());

Powered by Google App Engine
This is Rietveld 408576698