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 #include "ui/base/window_open_disposition.h" | 8 #include "ui/base/window_open_disposition.h" |
9 | 9 |
10 @class BookmarkBarFolderController; | 10 @class BookmarkBarFolderController; |
11 @class BookmarkButton; | 11 @class BookmarkButton; |
12 struct BookmarkNodeData; | |
13 class BookmarkModel; | 12 class BookmarkModel; |
14 class BookmarkNode; | 13 class BookmarkNode; |
15 @class BrowserWindowController; | 14 @class BrowserWindowController; |
16 class ThemeService; | 15 class ThemeService; |
17 | 16 |
18 // Protocol for a BookmarkButton's delegate, responsible for doing | 17 // Protocol for a BookmarkButton's delegate, responsible for doing |
19 // things on behalf of a bookmark button. | 18 // things on behalf of a bookmark button. |
20 @protocol BookmarkButtonDelegate | 19 @protocol BookmarkButtonDelegate |
21 | 20 |
22 // Fill the given pasteboard with appropriate data when the given button is | 21 // Fill the given pasteboard with appropriate data when the given button is |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 255 |
257 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | 256 // Key for userInfo dict of a kPulseBookmarkButtonNotification. |
258 // Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*). | 257 // Value is a [NSValue valueWithPointer:]; pointer is a (const BookmarkNode*). |
259 extern NSString* const kBookmarkKey; | 258 extern NSString* const kBookmarkKey; |
260 | 259 |
261 // Key for userInfo dict of a kPulseBookmarkButtonNotification. | 260 // Key for userInfo dict of a kPulseBookmarkButtonNotification. |
262 // Value is a [NSNumber numberWithBool:] to turn pulsing on or off. | 261 // Value is a [NSNumber numberWithBool:] to turn pulsing on or off. |
263 extern NSString* const kBookmarkPulseFlagKey; | 262 extern NSString* const kBookmarkPulseFlagKey; |
264 | 263 |
265 }; | 264 }; |
OLD | NEW |