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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 8e1c65719186c10b67c940f7db1b2df4e72556b3..7f701e614a749c57341d05453b260b6c7c594a95 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -196,6 +196,9 @@ class CONTENT_EXPORT WebContentsImpl
// from a native app.
void ClearNavigationTransitionData();
+ // Set the policy for handling animated images
+ void SetImageAnimationPolicy(const std::string& policy);
dmazzoni 2014/12/08 07:46:01 There should be an enum defined somewhere in Chrom
+
// WebContents ------------------------------------------------------
WebContentsDelegate* GetDelegate() override;
void SetDelegate(WebContentsDelegate* delegate) override;

Powered by Google App Engine
This is Rietveld 408576698