Cleanup: Update the path to insets and point headers.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / applescript / bookmark_item_applescript.h
blobb84365d2e0fb46d71f4bc67158fccd4c77417930
1 // Copyright (c) 2010 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.
5 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
8 #import <Cocoa/Cocoa.h>
10 #import "chrome/browser/ui/cocoa/applescript/bookmark_node_applescript.h"
12 // Represents a bookmark item scriptable object in applescript.
13 @interface BookmarkItemAppleScript : BookmarkNodeAppleScript {
14 @private
15 // Contains the temporary title when a user creates a new item with
16 // title specified like
17 // |make new bookmarks item with properties {title:"foo"}|.
18 NSString* tempURL_;
21 // Assigns a node, sets its unique ID and also copies temporary values.
22 - (void)setBookmarkNode:(const BookmarkNode*)aBookmarkNode;
24 // Returns the URL that the bookmark item holds.
25 - (NSString*)URL;
27 // Sets the URL of the bookmark item, displays error in applescript console
28 // if URL is invalid.
29 - (void)setURL:(NSString*)aURL;
31 @end
33 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_