[go: nahoru, domu]

Using WebContents::UpdateTitleForEntry() instead of NavigationEntry::SetTitle()

NavigationEntry::SetTitle() doesn't result in the emission of
WebContentsObserver::TitleWasSet() events. This used to cause listeners like
the task manager to show wrong titles of tabs (for example in the event of an
interstitial page).

BUG=607074
TEST=content_browsertests --gtest_filter=InterstitialPageImplTest.*
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2086423005
Cr-Commit-Position: refs/heads/master@{#405485}
15 files changed