| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #import "chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.h" | 5 #import "chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #import "base/scoped_nsobject.h" | 8 #import "base/scoped_nsobject.h" |
| 9 #import "chrome/browser/app_controller_mac.h" | 9 #import "chrome/browser/app_controller_mac.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 11 #include "chrome/browser/browser_list.h" | 11 #include "chrome/browser/browser_list.h" |
| 12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #import "chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.h" | 13 #import "chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.h" |
| 14 #import "chrome/browser/ui/cocoa/applescript/constants_applescript.h" | 14 #import "chrome/browser/ui/cocoa/applescript/constants_applescript.h" |
| 15 #import "chrome/browser/ui/cocoa/applescript/error_applescript.h" | 15 #import "chrome/browser/ui/cocoa/applescript/error_applescript.h" |
| 16 #import "chrome/browser/ui/cocoa/applescript/window_applescript.h" | 16 #import "chrome/browser/ui/cocoa/applescript/window_applescript.h" |
| 17 | 17 |
| 18 @implementation BrowserCrApplication (AppleScriptAdditions) | 18 @implementation BrowserCrApplication (AppleScriptAdditions) |
| 19 | 19 |
| 20 - (NSArray*)appleScriptWindows { | 20 - (NSArray*)appleScriptWindows { |
| 21 NSMutableArray* appleScriptWindows = [NSMutableArray | 21 NSMutableArray* appleScriptWindows = [NSMutableArray |
| 22 arrayWithCapacity:BrowserList::size()]; | 22 arrayWithCapacity:BrowserList::size()]; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 - (void)insertInBookmarksFolders:(id)aBookmarkFolder atIndex:(int)index { | 128 - (void)insertInBookmarksFolders:(id)aBookmarkFolder atIndex:(int)index { |
| 129 NOTIMPLEMENTED(); | 129 NOTIMPLEMENTED(); |
| 130 } | 130 } |
| 131 | 131 |
| 132 - (void)removeFromBookmarksFoldersAtIndex:(int)index { | 132 - (void)removeFromBookmarksFoldersAtIndex:(int)index { |
| 133 NOTIMPLEMENTED(); | 133 NOTIMPLEMENTED(); |
| 134 } | 134 } |
| 135 | 135 |
| 136 @end | 136 @end |
| OLD | NEW |