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

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

Issue 9616037: Change panel drag related methods to use mouse location in screen coordinates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac trybot Created 8 years, 9 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_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index 00798fbd277307659463744bdf2369bd073f531c..e6e8dee001c2d94ae43d76b414728b95e8033632 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -38,8 +38,9 @@ class PanelBrowserView : public BrowserView,
// Called from frame view when titlebar receives a mouse event.
// Return true if the event is handled.
- bool OnTitlebarMousePressed(const gfx::Point& location);
- bool OnTitlebarMouseDragged(const gfx::Point& location);
+ // |mouse_location| is in screen coordinates.
+ bool OnTitlebarMousePressed(const gfx::Point& mouse_location);
+ bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
bool OnTitlebarMouseReleased();
bool OnTitlebarMouseCaptureLost();

Powered by Google App Engine
This is Rietveld 408576698