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

Unified Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.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: Patch to reland 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_window_controller_cocoa.h
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
index 21fee91f6e4af309b10b1ffb04e520f912116775..c80602726bf455c53f2ca7503c5b8a86a1bd8980 100644
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
@@ -98,11 +98,11 @@ class PanelBrowserWindowCocoa;
animate:(BOOL)animate;
// Used by PanelTitlebarViewCocoa when user rearranges the Panels by dragging.
+// |mouseLocation| is in Cocoa's screen coordinates.
- (BOOL)isDraggable;
-- (void)startDrag;
+- (void)startDrag:(NSPoint)mouseLocation;
- (void)endDrag:(BOOL)cancelled;
-- (void)dragWithDeltaX:(int)deltaX
- deltaY:(int)deltaY;
+- (void)drag:(NSPoint)mouseLocation;
// Accessor for titlebar view.
- (PanelTitlebarViewCocoa*)titlebarView;
« no previous file with comments | « chrome/browser/ui/panels/panel_utils_cocoa.mm ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698