summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/applescript/tab_applescript.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/applescript/tab_applescript.h')
-rw-r--r--chrome/browser/ui/cocoa/applescript/tab_applescript.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/ui/cocoa/applescript/tab_applescript.h b/chrome/browser/ui/cocoa/applescript/tab_applescript.h
index dd31941..41a3fd5c 100644
--- a/chrome/browser/ui/cocoa/applescript/tab_applescript.h
+++ b/chrome/browser/ui/cocoa/applescript/tab_applescript.h
@@ -10,12 +10,11 @@
#import "chrome/browser/ui/cocoa/applescript/element_applescript.h"
class TabContents;
-typedef TabContents TabContentsWrapper;
// Represents a tab scriptable item in applescript.
@interface TabAppleScript : ElementAppleScript {
@private
- TabContentsWrapper* tabContents_; // weak.
+ TabContents* tabContents_; // weak.
// Contains the temporary URL when a user creates a new folder/item with
// url specified like
// |make new tab with properties {url:"http://google.com"}|.
@@ -28,10 +27,10 @@ typedef TabContents TabContentsWrapper;
- (id)init;
// Does not create a new tab but uses an existing one.
-- (id)initWithTabContent:(TabContentsWrapper*)aTabContent;
+- (id)initWithTabContent:(TabContents*)aTabContent;
// Assigns a tab, sets its unique ID and also copies temporary values.
-- (void)setTabContent:(TabContentsWrapper*)aTabContent;
+- (void)setTabContent:(TabContents*)aTabContent;
// Return the URL currently visible to the user in the location bar.
- (NSString*)URL;