Commit 12098b47 authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Remove NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED.

It hasn't been broadcast as a notification since r369162,
more than two years ago. The code that listens for it is dead.

BUG=268984

Change-Id: Ia8ed45dcf334c5eb96a8ea4c1fe6706f82b299b3
Reviewed-on: https://chromium-review.googlesource.com/974324Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544958}
parent 7551b1e6
......@@ -75,12 +75,6 @@ enum NotificationType {
// Source<ThemeService>. There are no details.
NOTIFICATION_BROWSER_THEME_CHANGED,
#if defined(USE_AURA)
// The user has changed the fling curve configuration.
// Source<GesturePrefsObserver>. There are no details.
NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED,
#endif // defined(USE_AURA)
// Sent when the renderer returns focus to the browser, as part of focus
// traversal. The source is the browser, there are no details.
NOTIFICATION_FOCUS_RETURNED_TO_BROWSER,
......
......@@ -465,11 +465,6 @@ PrefsTabHelper::PrefsTabHelper(WebContents* contents)
content::Source<ThemeService>(
ThemeServiceFactory::GetForProfile(profile_)));
#endif
#if defined(USE_AURA)
registrar_.Add(this,
chrome::NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED,
content::NotificationService::AllSources());
#endif
}
PrefsTabHelper::~PrefsTabHelper() {
......@@ -579,13 +574,6 @@ void PrefsTabHelper::Observe(int type,
}
#endif
#if defined(USE_AURA)
if (type == chrome::NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED) {
UpdateRendererPreferences();
return;
}
#endif // defined(USE_AURA)
NOTREACHED();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment