Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1754)

Side by Side Diff: chrome/browser/ui/cocoa/applescript/tab_applescript.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/constrained_window_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_
6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ 6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "chrome/browser/ui/cocoa/applescript/element_applescript.h" 10 #import "chrome/browser/ui/cocoa/applescript/element_applescript.h"
11 11
12 class TabContentsWrapper; 12 class TabContents;
13 typedef TabContents TabContentsWrapper;
13 14
14 // Represents a tab scriptable item in applescript. 15 // Represents a tab scriptable item in applescript.
15 @interface TabAppleScript : ElementAppleScript { 16 @interface TabAppleScript : ElementAppleScript {
16 @private 17 @private
17 TabContentsWrapper* tabContents_; // weak. 18 TabContentsWrapper* tabContents_; // weak.
18 // Contains the temporary URL when a user creates a new folder/item with 19 // Contains the temporary URL when a user creates a new folder/item with
19 // url specified like 20 // url specified like
20 // |make new tab with properties {url:"http://google.com"}|. 21 // |make new tab with properties {url:"http://google.com"}|.
21 NSString* tempURL_; 22 NSString* tempURL_;
22 } 23 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 74
74 // Displays the HTML of the tab in a new tab. 75 // Displays the HTML of the tab in a new tab.
75 - (void)handlesViewSourceScriptCommand:(NSScriptCommand*)command; 76 - (void)handlesViewSourceScriptCommand:(NSScriptCommand*)command;
76 77
77 // Executes a piece of javascript in the tab. 78 // Executes a piece of javascript in the tab.
78 - (id)handlesExecuteJavascriptScriptCommand:(NSScriptCommand*)command; 79 - (id)handlesExecuteJavascriptScriptCommand:(NSScriptCommand*)command;
79 80
80 @end 81 @end
81 82
82 #endif// CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ 83 #endif// CHROME_BROWSER_UI_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/constrained_window_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698