Commit 599d5180 authored by avi@chromium.org's avatar avi@chromium.org

Properly destroy tabs via AppleScript.

BUG=104351
TEST=as in bug


Review URL: http://codereview.chromium.org/8585010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110524 0039d316-1c4b-4281-b951-d872f2087c98
parent 3bbe5653
......@@ -201,10 +201,10 @@
}
- (void)removeFromTabsAtIndex:(int)index {
browser_->tabstrip_model()->DetachTabContentsAt(index);
browser_->CloseTabContents(browser_->GetTabContentsAt(index));
}
- (NSNumber*)orderedIndex{
- (NSNumber*)orderedIndex {
return [NSNumber numberWithInt:[[self nativeHandle] orderedIndex]];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment