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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller2.h

Issue 9566014: Attempt 2: Allows tab dragging when maximized on aura. To fix it I made it so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 10 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
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_drag_controller2.h
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller2.h b/chrome/browser/ui/views/tabs/tab_drag_controller2.h
index cbcbf05e6024b82b259356844a4d85973e3e0ef9..2d5ebec90f8526ef0956da125f4b7cb9c7ab1acc 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller2.h
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller2.h
@@ -279,6 +279,10 @@ class TabDragController2 : public TabDragController,
const gfx::Point& screen_point,
std::vector<gfx::Rect>* drag_bounds);
+ // Marks whether |window| is constrained. While dragging we set this to false
+ // to allow maximized windows to move any where.
+ void SetTrackedByWorkspace(gfx::NativeWindow window, bool value);
+
// Handles registering for notifications.
content::NotificationRegistrar registrar_;
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698