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

Unified Diff: chrome/browser/accessibility/invert_bubble_prefs.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
Index: chrome/browser/accessibility/invert_bubble_prefs.cc
diff --git a/chrome/browser/accessibility/invert_bubble_prefs.cc b/chrome/browser/accessibility/invert_bubble_prefs.cc
new file mode 100644
index 0000000000000000000000000000000000000000..130696628ab749ad2b1398908b096da7ed5fa512
--- /dev/null
+++ b/chrome/browser/accessibility/invert_bubble_prefs.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/accessibility/invert_bubble_prefs.h"
+
+#include "chrome/browser/prefs/pref_service.h"
+#include "chrome/common/pref_names.h"
+
+namespace browser {
+
+void RegisterInvertBubbleUserPrefs(PrefService* prefs) {
+ prefs->RegisterBooleanPref(prefs::kInvertNotificationShown,
+ false,
+ PrefService::UNSYNCABLE_PREF);
+}
+
+} // namespace browser
« no previous file with comments | « chrome/browser/accessibility/invert_bubble_prefs.h ('k') | chrome/browser/accessibility/invert_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698