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

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

Issue 242693003: Introduce BookmarkClient interface to abstract embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around STL android bug Created 6 years, 7 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) 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 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/bookmarks/bookmark_model.h"
13 12
14 class BookmarkModelObserverForCocoa; 13 class BookmarkModelObserverForCocoa;
14 class BookmarkNode;
15 class Profile;
15 16
16 // A controller for dialog to let the user create a new folder or 17 // A controller for dialog to let the user create a new folder or
17 // rename an existing folder. Accessible from a context menu on a 18 // rename an existing folder. Accessible from a context menu on a
18 // bookmark button or the bookmark bar. 19 // bookmark button or the bookmark bar.
19 @interface BookmarkNameFolderController : NSWindowController { 20 @interface BookmarkNameFolderController : NSWindowController {
20 @private 21 @private
21 IBOutlet NSTextField* nameField_; 22 IBOutlet NSTextField* nameField_;
22 IBOutlet NSButton* okButton_; 23 IBOutlet NSButton* okButton_;
23 24
24 NSWindow* parentWindow_; // weak 25 NSWindow* parentWindow_; // weak
(...skipping 29 matching lines...) Expand all
54 - (IBAction)ok:(id)sender; 55 - (IBAction)ok:(id)sender;
55 @end 56 @end
56 57
57 @interface BookmarkNameFolderController(TestingAPI) 58 @interface BookmarkNameFolderController(TestingAPI)
58 - (NSString*)folderName; 59 - (NSString*)folderName;
59 - (void)setFolderName:(NSString*)name; 60 - (void)setFolderName:(NSString*)name;
60 - (NSButton*)okButton; 61 - (NSButton*)okButton;
61 @end 62 @end
62 63
63 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_ 64 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_NAME_FOLDER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698