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

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

Issue 8539035: Fix 3 panel related bugs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index 45a899179549640321c9a41e0853691b4656a6c6..d24d90e1266b89e8829173334f08485d62a3262b 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -129,8 +129,9 @@ class PanelBrowserView : public BrowserView,
// Is the mouse button currently down?
bool mouse_pressed_;
- // Location the mouse was pressed at. Used to detect drag and drop.
- gfx::Point mouse_pressed_point_;
+ // Location the mouse was pressed at or dragged to. Used in drag-and-drop.
+ // This point is represented in the screen coordinate system.
+ gfx::Point mouse_location_;
// Timestamp when the mouse was pressed. Used to detect long click.
base::TimeTicks mouse_pressed_time_;

Powered by Google App Engine
This is Rietveld 408576698