OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/cocoa/draggable_button.h" | 7 #import "chrome/browser/cocoa/draggable_button.h" |
8 #include "webkit/glue/window_open_disposition.h" | 8 #include "webkit/glue/window_open_disposition.h" |
9 | 9 |
10 @class BookmarkBarFolderController; | 10 @class BookmarkBarFolderController; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 @end // @interface BookmarkButton | 208 @end // @interface BookmarkButton |
209 | 209 |
210 | 210 |
211 @interface BookmarkButton(TestingAPI) | 211 @interface BookmarkButton(TestingAPI) |
212 - (void)beginDrag:(NSEvent*)event; | 212 - (void)beginDrag:(NSEvent*)event; |
213 @end | 213 @end |
214 | 214 |
215 namespace bookmark_button { | 215 namespace bookmark_button { |
216 | 216 |
217 // Notifications for pulsing of bookmarks. | 217 // Notifications for pulsing of bookmarks. |
218 extern const NSString* kPulseBookmarkButtonNotification; | 218 extern NSString* const kPulseBookmarkButtonNotification; |
219 | 219 |
220 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | 220 // Key for userInfo dict of a kPulseBookmarkButtonNotification. |
221 // Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*). | 221 // Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*). |
222 extern const NSString* kBookmarkKey; | 222 extern NSString* const kBookmarkKey; |
223 | 223 |
224 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | 224 // Key for userInfo dict of a kPulseBookmarkButtonNotification. |
225 // Value is a [NSNumber numberWithBool:] to turn pulsing on or off. | 225 // Value is a [NSNumber numberWithBool:] to turn pulsing on or off. |
226 extern const NSString* kBookmarkPulseFlagKey; | 226 extern NSString* const kBookmarkPulseFlagKey; |
227 | 227 |
228 }; | 228 }; |
OLD | NEW |