OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 #include <vector> | 6 #include <vector> |
7 #import "chrome/browser/ui/cocoa/draggable_button.h" | 7 #import "chrome/browser/ui/cocoa/draggable_button.h" |
8 #import "chrome/browser/ui/cocoa/themed_window.h" | 8 #import "chrome/browser/ui/cocoa/themed_window.h" |
9 #include "ui/base/window_open_disposition.h" | 9 #include "ui/base/window_open_disposition.h" |
10 | 10 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 + (BookmarkButton*)draggedButton; | 245 + (BookmarkButton*)draggedButton; |
246 | 246 |
247 | 247 |
248 @end // @interface BookmarkButton | 248 @end // @interface BookmarkButton |
249 | 249 |
250 | 250 |
251 @interface BookmarkButton(TestingAPI) | 251 @interface BookmarkButton(TestingAPI) |
252 - (void)beginDrag:(NSEvent*)event; | 252 - (void)beginDrag:(NSEvent*)event; |
253 @end | 253 @end |
254 | 254 |
255 namespace bookmark_button { | |
256 | |
257 // Notifications for pulsing of bookmarks. | |
258 extern NSString* const kPulseBookmarkButtonNotification; | |
259 | |
260 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | |
261 // Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*). | |
262 extern NSString* const kBookmarkKey; | |
263 | |
264 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | |
265 // Value is a [NSNumber numberWithBool:] to turn pulsing on or off. | |
266 extern NSString* const kBookmarkPulseFlagKey; | |
267 | |
268 }; | |
OLD | NEW |