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

Unified Diff: chrome/browser/cocoa/bookmark_button.h

Issue 437055: Mac: fix Esc-key cancellation of bookmark bar button drags. (Closed)
Patch Set: Updated/eliminated some comments. Created 11 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/bookmark_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_button.h
diff --git a/chrome/browser/cocoa/bookmark_button.h b/chrome/browser/cocoa/bookmark_button.h
index 79c878a2ca1b4136ac59d1bf6c33a1eead1e2741..ea3decce4c70bd94b43b44d56751d0f20b6342c6 100644
--- a/chrome/browser/cocoa/bookmark_button.h
+++ b/chrome/browser/cocoa/bookmark_button.h
@@ -7,8 +7,9 @@
// Class for bookmark bar buttons that can be drag sources.
@interface BookmarkButton : NSButton {
@private
- BOOL draggable_;
- BOOL beingDragged_; // are we being dragged?
+ BOOL draggable_; // Is this a draggable type of button?
+ BOOL mayDragStart_; // Set to YES on mouse down, NO on up or drag.
+ BOOL beingDragged_;
// Initial mouse-down to prevent a hair-trigger drag.
NSPoint initialMouseDownLocation_;
« no previous file with comments | « no previous file | chrome/browser/cocoa/bookmark_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698