summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/applescript/tab_applescript.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-07 14:19:55 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-07 14:19:55 +0000
commit9ebe4e57b30746f8b2ddc96a4c0da7e8a06403f0 (patch)
tree4b57758f9656da294d5eca81edc6943424a2d822 /chrome/browser/ui/cocoa/applescript/tab_applescript.h
parent5ca0c7f77d7f80b177be4868b1d5216e206bf885 (diff)
downloadchromium_src-9ebe4e57b30746f8b2ddc96a4c0da7e8a06403f0.zip
chromium_src-9ebe4e57b30746f8b2ddc96a4c0da7e8a06403f0.tar.gz
chromium_src-9ebe4e57b30746f8b2ddc96a4c0da7e8a06403f0.tar.bz2
Use TCW in AppleScript.
Plumb TabContentsWrapper through the AppleScript code. BUG=71097 TEST=none Review URL: http://codereview.chromium.org/6815002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/applescript/tab_applescript.h')
-rw-r--r--chrome/browser/ui/cocoa/applescript/tab_applescript.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/cocoa/applescript/tab_applescript.h b/chrome/browser/ui/cocoa/applescript/tab_applescript.h
index 30064fa..424d5cf 100644
--- a/chrome/browser/ui/cocoa/applescript/tab_applescript.h
+++ b/chrome/browser/ui/cocoa/applescript/tab_applescript.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -9,12 +9,12 @@
#import "chrome/browser/ui/cocoa/applescript/element_applescript.h"
-class TabContents;
+class TabContentsWrapper;
// Represents a tab scriptable item in applescript.
@interface TabAppleScript : ElementAppleScript {
@private
- TabContents* tabContents_; // weak.
+ TabContentsWrapper* 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"}|.
@@ -27,10 +27,10 @@ class TabContents;
- (id)init;
// Does not create a new tab but uses an existing one.
-- (id)initWithTabContent:(TabContents*)aTabContent;
+- (id)initWithTabContent:(TabContentsWrapper*)aTabContent;
// Assigns a tab, sets its unique ID and also copies temporary values.
-- (void)setTabContent:(TabContents*)aTabContent;
+- (void)setTabContent:(TabContentsWrapper*)aTabContent;
// Return the URL currently visible to the user in the location bar.
- (NSString*)URL;