| Index: chrome/browser/ui/cocoa/applescript/tab_applescript.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/applescript/tab_applescript.mm (revision 115228)
|
| +++ chrome/browser/ui/cocoa/applescript/tab_applescript.mm (working copy)
|
| @@ -187,7 +187,7 @@
|
| }
|
|
|
| NavigationEntry* entry =
|
| - tabContents_->tab_contents()->controller().GetActiveEntry();
|
| + tabContents_->tab_contents()->GetController().GetActiveEntry();
|
| if (!entry) {
|
| return nil;
|
| }
|
| @@ -211,7 +211,7 @@
|
| }
|
|
|
| NavigationEntry* entry =
|
| - tabContents_->tab_contents()->controller().GetActiveEntry();
|
| + tabContents_->tab_contents()->GetController().GetActiveEntry();
|
| if (!entry)
|
| return;
|
|
|
| @@ -226,7 +226,7 @@
|
|
|
| - (NSString*)title {
|
| NavigationEntry* entry =
|
| - tabContents_->tab_contents()->controller().GetActiveEntry();
|
| + tabContents_->tab_contents()->GetController().GetActiveEntry();
|
| if (!entry)
|
| return nil;
|
|
|
| @@ -305,21 +305,21 @@
|
|
|
| - (void)handlesGoBackScriptCommand:(NSScriptCommand*)command {
|
| NavigationController& navigationController =
|
| - tabContents_->tab_contents()->controller();
|
| + tabContents_->tab_contents()->GetController();
|
| if (navigationController.CanGoBack())
|
| navigationController.GoBack();
|
| }
|
|
|
| - (void)handlesGoForwardScriptCommand:(NSScriptCommand*)command {
|
| NavigationController& navigationController =
|
| - tabContents_->tab_contents()->controller();
|
| + tabContents_->tab_contents()->GetController();
|
| if (navigationController.CanGoForward())
|
| navigationController.GoForward();
|
| }
|
|
|
| - (void)handlesReloadScriptCommand:(NSScriptCommand*)command {
|
| NavigationController& navigationController =
|
| - tabContents_->tab_contents()->controller();
|
| + tabContents_->tab_contents()->GetController();
|
| const bool checkForRepost = true;
|
| navigationController.Reload(checkForRepost);
|
| }
|
| @@ -388,7 +388,7 @@
|
|
|
| - (void)handlesViewSourceScriptCommand:(NSScriptCommand*)command {
|
| NavigationEntry* entry =
|
| - tabContents_->tab_contents()->controller().GetLastCommittedEntry();
|
| + tabContents_->tab_contents()->GetController().GetLastCommittedEntry();
|
| if (entry) {
|
| tabContents_->tab_contents()->OpenURL(
|
| GURL(chrome::kViewSourceScheme + std::string(":") +
|
|
|