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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h

Issue 2905773003: [Mac] Mirror bookmark bubble in RTL (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Ping me when the bookmark model changes out from under us. 45 // Ping me when the bookmark model changes out from under us.
46 std::unique_ptr<BookmarkModelObserverForCocoa> bookmarkObserver_; 46 std::unique_ptr<BookmarkModelObserverForCocoa> bookmarkObserver_;
47 47
48 // Sync promo controller, if the sync promo is displayed. 48 // Sync promo controller, if the sync promo is displayed.
49 base::scoped_nsobject<BubbleSyncPromoController> syncPromoController_; 49 base::scoped_nsobject<BubbleSyncPromoController> syncPromoController_;
50 50
51 IBOutlet NSTextField* bigTitle_; // "Bookmark" or "Bookmark Added!" 51 IBOutlet NSTextField* bigTitle_; // "Bookmark" or "Bookmark Added!"
52 IBOutlet NSTextField* nameTextField_; 52 IBOutlet NSTextField* nameTextField_;
53 IBOutlet NSPopUpButton* folderPopUpButton_; 53 IBOutlet NSPopUpButton* folderPopUpButton_;
54 IBOutlet NSView* syncPromoPlaceholder_; 54 IBOutlet NSView* syncPromoPlaceholder_;
55 IBOutlet NSView* fieldLabelsContainer_;
56 IBOutlet NSView* trailingButtonContainer_;
55 } 57 }
56 58
57 @property(readonly, nonatomic) const bookmarks::BookmarkNode* node; 59 @property(readonly, nonatomic) const bookmarks::BookmarkNode* node;
58 60
59 // |node| is the bookmark node we edit in this bubble. 61 // |node| is the bookmark node we edit in this bubble.
60 // |alreadyBookmarked| tells us if the node was bookmarked before the 62 // |alreadyBookmarked| tells us if the node was bookmarked before the
61 // user clicked on the star. (if NO, this is a brand new bookmark). 63 // user clicked on the star. (if NO, this is a brand new bookmark).
62 // The owner of this object is responsible for showing the bubble if 64 // The owner of this object is responsible for showing the bubble if
63 // it desires it to be visible on the screen. It is not shown by the 65 // it desires it to be visible on the screen. It is not shown by the
64 // init routine. Closing of the window happens implicitly on dealloc. 66 // init routine. Closing of the window happens implicitly on dealloc.
(...skipping 27 matching lines...) Expand all
92 toPopUpButton:(NSPopUpButton*)button 94 toPopUpButton:(NSPopUpButton*)button
93 indentation:(int)indentation; 95 indentation:(int)indentation;
94 - (void)setTitle:(NSString*)title 96 - (void)setTitle:(NSString*)title
95 parentFolder:(const bookmarks::BookmarkNode*)parent; 97 parentFolder:(const bookmarks::BookmarkNode*)parent;
96 - (void)setParentFolderSelection:(const bookmarks::BookmarkNode*)parent; 98 - (void)setParentFolderSelection:(const bookmarks::BookmarkNode*)parent;
97 + (NSString*)chooseAnotherFolderString; 99 + (NSString*)chooseAnotherFolderString;
98 - (NSPopUpButton*)folderPopUpButton; 100 - (NSPopUpButton*)folderPopUpButton;
99 @end 101 @end
100 102
101 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_ 103 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/nibs/BookmarkBubble.xib ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698