blob: ff779b8c85e3ab3d553dfbc833016220961edf75 [file] [log] [blame]
[email protected]ee01535e2009-07-21 23:57:191// Copyright (c) 2009 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_CONTROLLER_H_
6#define CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_CONTROLLER_H_
7
[email protected]a5971dc2009-11-06 03:24:298#import "chrome/browser/cocoa/bookmark_editor_base_controller.h"
[email protected]fbc93b362009-10-29 22:10:329
[email protected]ee01535e2009-07-21 23:57:1910// A controller for the bookmark editor, opened with Edit... from the
11// context menu of a bookmark button.
[email protected]a5971dc2009-11-06 03:24:2912@interface BookmarkEditorController : BookmarkEditorBaseController {
[email protected]ee01535e2009-07-21 23:57:1913 @private
[email protected]ee01535e2009-07-21 23:57:1914 const BookmarkNode* node_; // weak; owned by the model
[email protected]ee01535e2009-07-21 23:57:1915 scoped_nsobject<NSString> initialUrl_;
[email protected]a5971dc2009-11-06 03:24:2916 NSString* displayURL_; // Bound to a text field in the dialog.
[email protected]ee01535e2009-07-21 23:57:1917}
18
[email protected]a5971dc2009-11-06 03:24:2919@property (copy) NSString* displayURL;
20
[email protected]ee01535e2009-07-21 23:57:1921- (id)initWithParentWindow:(NSWindow*)parentWindow
22 profile:(Profile*)profile
23 parent:(const BookmarkNode*)parent
24 node:(const BookmarkNode*)node
25 configuration:(BookmarkEditor::Configuration)configuration
26 handler:(BookmarkEditor::Handler*)handler;
27
[email protected]ee01535e2009-07-21 23:57:1928@end
29
[email protected]ee01535e2009-07-21 23:57:1930#endif /* CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_CONTROLLER_H_ */