diff options
| author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-01 16:34:49 +0000 |
|---|---|---|
| committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-01 16:34:49 +0000 |
| commit | 7d791652c7ede4209a2014d885148e2713f49bce (patch) | |
| tree | c26baf12593bed381c631b81c736106809d46b44 /chrome/browser/cocoa/applescript/bookmark_folder_applescript.h | |
| parent | 3b94427c99bdf12836fd455eeb1499fdde511e26 (diff) | |
| download | chromium_src-7d791652c7ede4209a2014d885148e2713f49bce.zip chromium_src-7d791652c7ede4209a2014d885148e2713f49bce.tar.gz chromium_src-7d791652c7ede4209a2014d885148e2713f49bce.tar.bz2 | |
Move browser/cocoa to browser/ui/cocoa
BUG=none
TEST=none
TBR=brettw
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/applescript/bookmark_folder_applescript.h')
| -rw-r--r-- | chrome/browser/cocoa/applescript/bookmark_folder_applescript.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/chrome/browser/cocoa/applescript/bookmark_folder_applescript.h b/chrome/browser/cocoa/applescript/bookmark_folder_applescript.h deleted file mode 100644 index f56a3f9..0000000 --- a/chrome/browser/cocoa/applescript/bookmark_folder_applescript.h +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_FOLDER_APPLESCRIPT_H_ -#define CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_FOLDER_APPLESCRIPT_H_ - -#import <Cocoa/Cocoa.h> - -#import "chrome/browser/cocoa/applescript/bookmark_node_applescript.h" - -@class BookmarkItemAppleScript; - -// Represent a bookmark folder scriptable object in applescript. -@interface BookmarkFolderAppleScript : BookmarkNodeAppleScript { - -} - -// Bookmark folder manipulation methods. -// Returns an array of |BookmarkFolderAppleScript*| of all the bookmark folders -// contained within this particular folder. -- (NSArray*)bookmarkFolders; - -// Inserts a bookmark folder at the end. -- (void)insertInBookmarkFolders:(id)aBookmarkFolder; - -// Inserts a bookmark folder at some position in the list. -// Called by applescript which takes care of bounds checking, make sure of it -// before calling directly. -- (void)insertInBookmarkFolders:(id)aBookmarkFolder atIndex:(int)index; - -// Remove a bookmark folder from the list. -// Called by applescript which takes care of bounds checking, make sure of it -// before calling directly. -- (void)removeFromBookmarkFoldersAtIndex:(int)index; - -// Bookmark item manipulation methods. -// Returns an array of |BookmarkItemAppleScript*| of all the bookmark items -// contained within this particular folder. -- (NSArray*)bookmarkItems; - -// Inserts a bookmark item at the end. -- (void)insertInBookmarkItems:(BookmarkItemAppleScript*)aBookmarkItem; - -// Inserts a bookmark item at some position in the list. -// Called by applescript which takes care of bounds checking, make sure of it -// before calling directly. -- (void)insertInBookmarkItems:(BookmarkItemAppleScript*)aBookmarkItem - atIndex:(int)index; - -// Removes a bookmarks folder from the list. -// Called by applescript which takes care of bounds checking, make sure of it -// before calling directly. -- (void)removeFromBookmarkItemsAtIndex:(int)index; - -// Returns the position of a bookmark folder within the current bookmark folder -// which consists of bookmark folders as well as bookmark items. -// AppleScript makes sure that there is a bookmark folder before calling this -// method, make sure of that before calling directly. -- (int)calculatePositionOfBookmarkFolderAt:(int)index; - -// Returns the position of a bookmark item within the current bookmark folder -// which consists of bookmark folders as well as bookmark items. -// AppleScript makes sure that there is a bookmark item before calling this -// method, make sure of that before calling directly. -- (int)calculatePositionOfBookmarkItemAt:(int)index; - -@end - -#endif // CHROME_BROWSER_COCOA_APPLESCRIPT_BOOKMARK_FOLDER_APPLESCRIPT_H_ |
