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

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: fix up comments 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..f7ca608a3763cb0eee923d77421cba4c2c603d3f 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 mouse enters or exits the
+// cell.
+- (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/toolbar/reload_button.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698