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

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

Issue 2805099: Pulse new bookmarks (as triggered by bookmark bubble). If not possible, ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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/bookmark_button.h
===================================================================
--- chrome/browser/cocoa/bookmark_button.h (revision 53704)
+++ chrome/browser/cocoa/bookmark_button.h (working copy)
@@ -198,6 +198,13 @@
// http://crbug.com/35967
- (BOOL)isEmpty;
+// Turn on or off pulsing of a bookmark button.
+// Triggered by the bookmark bubble.
+- (void)setIsContinuousPulsing:(BOOL)flag;
+
+// Return continuous pulse state.
+- (BOOL)isContinuousPulsing;
+
@end // @interface BookmarkButton
@@ -205,3 +212,17 @@
- (void)beginDrag:(NSEvent*)event;
@end
+namespace bookmark_button {
+
+// Notifications for pulsing of bookmarks.
+extern const NSString* kPulseBookmarkButtonNotification;
+
+// Key for userInfo dict of a kPulseBookmarkButtonNotification.
+// Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*).
+extern const NSString* kBookmarkKey;
+
+// Key for userInfo dict of a kPulseBookmarkButtonNotification.
+// Value is a [NSNumber numberWithBool:] to turn pulsing on or off.
+extern const NSString* kBookmarkPulseFlagKey;
+
+};
« no previous file with comments | « chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698