OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 6 |
7 #import "base/mac/cocoa_protocols.h" | |
8 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 8 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h" | 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h" |
11 | 10 |
12 class BookmarkModel; | 11 class BookmarkModel; |
13 class BookmarkNode; | 12 class BookmarkNode; |
14 @class BookmarkBubbleController; | 13 @class BookmarkBubbleController; |
15 | 14 |
16 // Controller for the bookmark bubble. The bookmark bubble is a | 15 // Controller for the bookmark bubble. The bookmark bubble is a |
17 // bubble that pops up when clicking on the STAR next to the URL to | 16 // bubble that pops up when clicking on the STAR next to the URL to |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // Exposed only for unit testing. | 63 // Exposed only for unit testing. |
65 @interface BookmarkBubbleController (ExposedForUnitTesting) | 64 @interface BookmarkBubbleController (ExposedForUnitTesting) |
66 - (void)addFolderNodes:(const BookmarkNode*)parent | 65 - (void)addFolderNodes:(const BookmarkNode*)parent |
67 toPopUpButton:(NSPopUpButton*)button | 66 toPopUpButton:(NSPopUpButton*)button |
68 indentation:(int)indentation; | 67 indentation:(int)indentation; |
69 - (void)setTitle:(NSString*)title parentFolder:(const BookmarkNode*)parent; | 68 - (void)setTitle:(NSString*)title parentFolder:(const BookmarkNode*)parent; |
70 - (void)setParentFolderSelection:(const BookmarkNode*)parent; | 69 - (void)setParentFolderSelection:(const BookmarkNode*)parent; |
71 + (NSString*)chooseAnotherFolderString; | 70 + (NSString*)chooseAnotherFolderString; |
72 - (NSPopUpButton*)folderPopUpButton; | 71 - (NSPopUpButton*)folderPopUpButton; |
73 @end | 72 @end |
OLD | NEW |