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

Side by Side Diff: ui/views/widget/widget.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 #include <vector> 10 #include <vector>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // non-child widgets. 313 // non-child widgets.
314 void SetBoundsConstrained(const gfx::Rect& bounds); 314 void SetBoundsConstrained(const gfx::Rect& bounds);
315 315
316 // Sets whether animations that occur when visibility is changed are enabled. 316 // Sets whether animations that occur when visibility is changed are enabled.
317 // Default is true. 317 // Default is true.
318 void SetVisibilityChangedAnimationsEnabled(bool value); 318 void SetVisibilityChangedAnimationsEnabled(bool value);
319 319
320 // Starts a nested message loop that moves the window. This can be used to 320 // Starts a nested message loop that moves the window. This can be used to
321 // start a window move operation from a mouse moved event. This returns when 321 // start a window move operation from a mouse moved event. This returns when
322 // the move completes. 322 // the move completes.
323 MoveLoopResult RunMoveLoop(); 323 MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset);
sky 2012/08/14 22:49:23 Document what drag_offset is.
324 324
325 // Stops a previously started move loop. This is not immediate. 325 // Stops a previously started move loop. This is not immediate.
326 void EndMoveLoop(); 326 void EndMoveLoop();
327 327
328 // Places the widget in front of the specified widget in z-order. 328 // Places the widget in front of the specified widget in z-order.
329 void StackAboveWidget(Widget* widget); 329 void StackAboveWidget(Widget* widget);
330 void StackAbove(gfx::NativeView native_view); 330 void StackAbove(gfx::NativeView native_view);
331 void StackAtTop(); 331 void StackAtTop();
332 332
333 // Places the widget below the specified NativeView. 333 // Places the widget below the specified NativeView.
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 794
795 // Is |root_layers_| out of date? 795 // Is |root_layers_| out of date?
796 bool root_layers_dirty_; 796 bool root_layers_dirty_;
797 797
798 DISALLOW_COPY_AND_ASSIGN(Widget); 798 DISALLOW_COPY_AND_ASSIGN(Widget);
799 }; 799 };
800 800
801 } // namespace views 801 } // namespace views
802 802
803 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 803 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698