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

Unified Diff: chrome/browser/accessibility/animation_policy_prefs.h

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update code Created 5 years, 11 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/animation_policy_prefs.h
diff --git a/chrome/browser/accessibility/animation_policy_prefs.h b/chrome/browser/accessibility/animation_policy_prefs.h
new file mode 100644
index 0000000000000000000000000000000000000000..913ece46aceee0a69943096f7146062673b344f8
--- /dev/null
+++ b/chrome/browser/accessibility/animation_policy_prefs.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
Lei Zhang 2015/01/28 19:38:43 nit: no (c)
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_ACCESSIBILITY_ANIMATION_POLICY_PREFS_H_
+#define CHROME_BROWSER_ACCESSIBILITY_ANIMATION_POLICY_PREFS_H_
+
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
+namespace chrome {
+
+extern const char kAnimationPolicyAllowed[];
+extern const char kAnimationPolicyOnce[];
+extern const char kAnimationPolicyNone[];
+
+void RegisterAnimationPolicyPrefs(user_prefs::PrefRegistrySyncable* registry);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_ACCESSIBILITY_ANIMATION_POLICY_PREFS_H_

Powered by Google App Engine
This is Rietveld 408576698