summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 21:30:08 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 21:30:08 +0000
commitdc7588ee74d08438c6475cc0202516a7f2a51b0e (patch)
tree7cf0293d1b3bb2ab5e4db8d172fdcce50312d8ce /chrome/browser/external_tab_container.cc
parentcb6f584dd106ab452e5f76b82fa09c40e5428ffc (diff)
downloadchromium_src-dc7588ee74d08438c6475cc0202516a7f2a51b0e.zip
chromium_src-dc7588ee74d08438c6475cc0202516a7f2a51b0e.tar.gz
chromium_src-dc7588ee74d08438c6475cc0202516a7f2a51b0e.tar.bz2
Add url to AutomationMsg_DidNavigate
Automation clients can now find out the url navigated to instead of just index in the history. Review URL: http://codereview.chromium.org/39205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index d2c6040..be8cbdc 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -297,7 +297,8 @@ void ExternalTabContainer::Observe(NotificationType type,
automation_->Send(new AutomationMsg_DidNavigate(
0, commit->type,
commit->previous_entry_index -
- tab_contents_->controller()->GetLastCommittedEntryIndex()));
+ tab_contents_->controller()->GetLastCommittedEntryIndex(),
+ commit->entry->url()));
}
}
break;