summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authordilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 14:53:23 +0000
committerdilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 14:53:23 +0000
commit969182aa1bc4da953ffbc91dad10b6a7d812389f (patch)
tree1dc9e0be0f885794125baf4020172ddec5fbcd3b /content/browser
parentd73453228e2ce65824da45c9e6fd423a0bd1a3c7 (diff)
downloadchromium_src-969182aa1bc4da953ffbc91dad10b6a7d812389f.zip
chromium_src-969182aa1bc4da953ffbc91dad10b6a7d812389f.tar.gz
chromium_src-969182aa1bc4da953ffbc91dad10b6a7d812389f.tar.bz2
Pick more adequate time for showing locale change notification.
(without this fix users complain that notification is shown too early). BUG=chromium-os:11839 TEST=Manual Review URL: http://codereview.chromium.org/6591067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/tab_contents/tab_contents.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 4069494..213697f 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -319,7 +319,7 @@ TabContents::TabContents(Profile* profile,
registrar_.Add(this, NotificationType::EXTENSION_UNLOADED,
NotificationService::AllSources());
- // Listen for Google URL changes
+ // Listen for Google URL changes.
registrar_.Add(this, NotificationType::GOOGLE_URL_UPDATED,
NotificationService::AllSources());
@@ -658,9 +658,6 @@ void TabContents::DidBecomeSelected() {
WebCacheManager::GetInstance()->ObserveActivity(GetRenderProcessHost()->id());
last_selected_time_ = base::TimeTicks::Now();
-#if defined(OS_CHROMEOS)
- chromeos::LocaleChangeGuard::Check(this);
-#endif
}
void TabContents::FadeForInstant(bool animate) {