diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 18:33:04 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 18:33:04 +0000 |
commit | cbc0e1b7a534df83db009edef7843d029f307ff9 (patch) | |
tree | 59fe48f01f4158055b2e0eab25b642038408c04d /chrome/browser/tab_contents/tab_contents.cc | |
parent | 83210f3fd6ced20b8af9e87f9faf7349a791b3e7 (diff) | |
download | chromium_src-cbc0e1b7a534df83db009edef7843d029f307ff9.zip chromium_src-cbc0e1b7a534df83db009edef7843d029f307ff9.tar.gz chromium_src-cbc0e1b7a534df83db009edef7843d029f307ff9.tar.bz2 |
[GTTF] Make automation calls for Downloads, Extensions, and History pages
reliable.
This way we'll be able to write good pyauto tests for them.
TEST=ui_tests
BUG=none
Review URL: http://codereview.chromium.org/1562021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index b783b2c..5068275 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -1704,6 +1704,11 @@ bool TabContents::UpdateTitleForEntry(NavigationEntry* entry, // Lastly, set the title for the view. view_->SetPageTitle(final_title); + NotificationService::current()->Notify( + NotificationType::TAB_CONTENTS_TITLE_UPDATED, + Source<TabContents>(this), + NotificationService::NoDetails()); + return true; } |