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

Unified Diff: chrome/browser/ui/cocoa/image_button_cell.h

Issue 7466016: Fix up reload button to not flicker, and simplify implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary header Created 9 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/ui/cocoa/image_button_cell.h
diff --git a/chrome/browser/ui/cocoa/image_button_cell.h b/chrome/browser/ui/cocoa/image_button_cell.h
index c049294457448237eeb0e30831daa7d2a74bee01..07b5e089ac65ab055f0c7cd44698df3625e3a1f6 100644
--- a/chrome/browser/ui/cocoa/image_button_cell.h
+++ b/chrome/browser/ui/cocoa/image_button_cell.h
@@ -21,6 +21,13 @@ enum ButtonState {
} // namespace ImageButtonCell
+@protocol ImageButton
+@optional
+// Sent from an ImageButtonCell to it's view when the button is enabled
+// and the mouse enters or exits the cell.
Scott Hess - ex-Googler 2011/07/21 00:48:40 I don't think the comment is right WRT "enabled".
dmac 2011/07/29 20:01:00 Now it works when disabled as well.
+- (void)mouseInsideStateDidChange:(BOOL)isInside;
+@end
+
// A button cell that can disable a different image for each possible button
// state. Images are specified by image IDs.
@interface ImageButtonCell : NSButtonCell {
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/image_button_cell.mm » ('j') | chrome/browser/ui/cocoa/image_button_cell.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698