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

Unified Diff: chrome/browser/extensions/api/preference/preference_api.h

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: animationPolicy added to accessibilityFeatures Created 6 years 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/extensions/api/preference/preference_api.h
diff --git a/chrome/browser/extensions/api/preference/preference_api.h b/chrome/browser/extensions/api/preference/preference_api.h
index 0f95a9be60ce7dd24d4b0366bdf66c439ec14535..0ba98339873f2e6fbcec07b911b38186043525a8 100644
--- a/chrome/browser/extensions/api/preference/preference_api.h
+++ b/chrome/browser/extensions/api/preference/preference_api.h
@@ -110,6 +110,7 @@ class PreferenceAPI : public PreferenceAPIBase,
// EventRouter::Observer implementation.
void OnListenerAdded(const EventListenerInfo& details) override;
+ void UpdateAnimationPolicy();
not at google - send to devlin 2014/12/11 17:48:15 Blank line after this.
private:
friend class BrowserContextKeyedAPIFactory<PreferenceAPI>;
@@ -126,6 +127,7 @@ class PreferenceAPI : public PreferenceAPIBase,
scoped_refptr<ContentSettingsStore> content_settings_store() override;
Profile* profile_;
+ PrefChangeRegistrar pref_change_registrar_;
// BrowserContextKeyedAPI implementation.
static const char* service_name() {

Powered by Google App Engine
This is Rietveld 408576698