diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 21:30:08 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 21:30:08 +0000 |
commit | dc7588ee74d08438c6475cc0202516a7f2a51b0e (patch) | |
tree | 7cf0293d1b3bb2ab5e4db8d172fdcce50312d8ce | |
parent | cb6f584dd106ab452e5f76b82fa09c40e5428ffc (diff) | |
download | chromium_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
-rw-r--r-- | chrome/browser/external_tab_container.cc | 3 | ||||
-rw-r--r-- | chrome/test/automation/automation_messages_internal.h | 2 |
2 files changed, 3 insertions, 2 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; diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h index 96c779a..8fb532d 100644 --- a/chrome/test/automation/automation_messages_internal.h +++ b/chrome/test/automation/automation_messages_internal.h @@ -573,7 +573,7 @@ IPC_BEGIN_MESSAGES(Automation) // and 0 means this was a redirect // Response: // None expected - IPC_MESSAGE_ROUTED2(AutomationMsg_DidNavigate, int, int) + IPC_MESSAGE_ROUTED3(AutomationMsg_DidNavigate, int, int, GURL) // This message requests the different security states of the page displayed // in the specified tab. |