Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: chrome/browser/accessibility/invert_bubble_views.cc

Issue 10387206: browser: Split out the prefs registration of invert bubble from views file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/accessibility/invert_bubble_prefs.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/invert_bubble_views.cc
diff --git a/chrome/browser/accessibility/invert_bubble_views.cc b/chrome/browser/accessibility/invert_bubble_views.cc
index 9bc1a46efc3bcd532dc11edd5be5259fb72e53eb..068d5089587466c109a7f488ff6f731a70bd7bff 100644
--- a/chrome/browser/accessibility/invert_bubble_views.cc
+++ b/chrome/browser/accessibility/invert_bubble_views.cc
@@ -155,13 +155,6 @@ void InvertBubbleView::OpenLink(const std::string& url, int event_flags) {
}
}
-// static
-void InvertBubble::RegisterUserPrefs(PrefService* prefs) {
- prefs->RegisterBooleanPref(prefs::kInvertNotificationShown,
- false,
- PrefService::UNSYNCABLE_PREF);
-}
-
void InvertBubble::MaybeShowInvertBubble(Profile* profile,
views::View* anchor_view) {
PrefService* pref_service = profile->GetPrefs();
« no previous file with comments | « chrome/browser/accessibility/invert_bubble_prefs.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698