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

Unified Diff: chrome/browser/ui/panels/panel_drag_controller.h

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderText fixup Created 8 years, 2 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: chrome/browser/ui/panels/panel_drag_controller.h
diff --git a/chrome/browser/ui/panels/panel_drag_controller.h b/chrome/browser/ui/panels/panel_drag_controller.h
index 75a30e9d12e5312c69f725ea8a9f938f29662795..5128fd16b2f5cca40634cb02173bf3348dc513e7 100644
--- a/chrome/browser/ui/panels/panel_drag_controller.h
+++ b/chrome/browser/ui/panels/panel_drag_controller.h
@@ -76,7 +76,7 @@ class PanelDragController {
// The offset from mouse location to the panel position when the drag
// starts.
- gfx::Point offset_from_mouse_location_on_drag_start_;
+ gfx::Vector2d offset_from_mouse_location_on_drag_start_;
// The minimum distance that the docked panel gets dragged up in order to
// make it free-floating.

Powered by Google App Engine
This is Rietveld 408576698