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

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

Issue 2950523003: [Mac] Fix for Dialog Textfields (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_EDITOR_BASE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Designated initializer. Derived classes should call through to this init. 62 // Designated initializer. Derived classes should call through to this init.
63 // |url| and |title| are only used for BookmarkNode::Type::NEW_URL. 63 // |url| and |title| are only used for BookmarkNode::Type::NEW_URL.
64 - (id)initWithParentWindow:(NSWindow*)parentWindow 64 - (id)initWithParentWindow:(NSWindow*)parentWindow
65 nibName:(NSString*)nibName 65 nibName:(NSString*)nibName
66 profile:(Profile*)profile 66 profile:(Profile*)profile
67 parent:(const bookmarks::BookmarkNode*)parent 67 parent:(const bookmarks::BookmarkNode*)parent
68 url:(const GURL&)url 68 url:(const GURL&)url
69 title:(const base::string16&)title 69 title:(const base::string16&)title
70 configuration:(BookmarkEditor::Configuration)configuration; 70 configuration:(BookmarkEditor::Configuration)configuration;
71 71
72 - (void)windowWillClose:(NSNotification*)notification;
73
72 // Override to customize the touch bar. 74 // Override to customize the touch bar.
73 - (NSTouchBar*)makeTouchBar; 75 - (NSTouchBar*)makeTouchBar;
74 76
75 // Run the bookmark editor as a modal sheet. Does not block. 77 // Run the bookmark editor as a modal sheet. Does not block.
76 - (void)runAsModalSheet; 78 - (void)runAsModalSheet;
77 79
78 // Create a new folder at the end of the selected parent folder, give it 80 // Create a new folder at the end of the selected parent folder, give it
79 // an untitled name, and put it into editing mode. 81 // an untitled name, and put it into editing mode.
80 - (IBAction)newFolder:(id)sender; 82 - (IBAction)newFolder:(id)sender;
81 83
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 190
189 // Select the given bookmark node within the tree view. 191 // Select the given bookmark node within the tree view.
190 - (void)selectTestNodeInBrowser:(const bookmarks::BookmarkNode*)node; 192 - (void)selectTestNodeInBrowser:(const bookmarks::BookmarkNode*)node;
191 193
192 // Return the dictionary for the folder selected in the tree. 194 // Return the dictionary for the folder selected in the tree.
193 - (BookmarkFolderInfo*)selectedFolder; 195 - (BookmarkFolderInfo*)selectedFolder;
194 196
195 @end 197 @end
196 198
197 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ 199 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698