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

Side by Side Diff: chrome/browser/cocoa/applescript/bookmark_item_applescript.h

Issue 3046042: Added AppleScript support (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
6 #define CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #import "chrome/browser/cocoa/applescript/bookmark_node_applescript.h"
11
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_;
19 }
20
21 // Assigns a node, sets its unique ID and also copies temporary values.
22 - (void)setBookmarkNode:(const BookmarkNode*)aBookmarkNode;
23
24 // Returns the URL that the bookmark item holds.
25 - (NSString*)URL;
26
27 // Sets the URL of the bookmark item, displays error in applescript console
28 // if URL is invalid.
29 - (void)setURL:(NSString*)aURL;
30
31 @end
32
33 #endif // CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698