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

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

Issue 2973004: [Mac]Implement ViewID support. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Turns out that, it's not a good solution. Created 10 years, 5 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/cocoa/draggable_button.h
diff --git a/chrome/browser/cocoa/draggable_button.h b/chrome/browser/cocoa/draggable_button.h
index 2e166b7aa84eb71afd955fd6ff691226cee00ee3..b1245e54d98c40d7d46aa70a830c3ff172c0293a 100644
--- a/chrome/browser/cocoa/draggable_button.h
+++ b/chrome/browser/cocoa/draggable_button.h
@@ -3,11 +3,12 @@
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
+#import "chrome/browser/cocoa/button_with_viewid.h"
// Class for buttons that can be drag sources. If the mouse is clicked and moved
// more than a given distance, this class will call |-beginDrag:| instead of
// |-performClick:|. Subclasses should override these two methods.
-@interface DraggableButton : NSButton {
+@interface DraggableButton : ButtonWithViewID {
@private
BOOL draggable_; // Is this a draggable type of button?
}
« no previous file with comments | « chrome/browser/cocoa/download_shelf_view.mm ('k') | chrome/browser/cocoa/extensions/browser_actions_container_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698