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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Support three options for animations 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void setEnableTouchAdjustment(bool) override; 94 virtual void setEnableTouchAdjustment(bool) override;
95 virtual void setRegionBasedColumnsEnabled(bool) override; 95 virtual void setRegionBasedColumnsEnabled(bool) override;
96 virtual void setExperimentalWebGLEnabled(bool) override; 96 virtual void setExperimentalWebGLEnabled(bool) override;
97 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) override; 97 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) override;
98 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override; 98 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override;
99 virtual void setForceZeroLayoutHeight(bool) override; 99 virtual void setForceZeroLayoutHeight(bool) override;
100 virtual void setFullscreenSupported(bool) override; 100 virtual void setFullscreenSupported(bool) override;
101 virtual void setHyperlinkAuditingEnabled(bool) override; 101 virtual void setHyperlinkAuditingEnabled(bool) override;
102 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) override; 102 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) override;
103 virtual void setImagesEnabled(bool) override; 103 virtual void setImagesEnabled(bool) override;
104 virtual void setAnimatedImageType(AnimatedImageType) override;
dmazzoni 2014/11/24 17:50:48 Please sort this alphabetically. I know a small h
je_julie(Not used) 2014/11/27 17:22:50 Yes. you're right. I updated it.
104 virtual void setInlineTextBoxAccessibilityEnabled(bool) override; 105 virtual void setInlineTextBoxAccessibilityEnabled(bool) override;
105 virtual void setJavaEnabled(bool) override; 106 virtual void setJavaEnabled(bool) override;
106 virtual void setJavaScriptCanAccessClipboard(bool) override; 107 virtual void setJavaScriptCanAccessClipboard(bool) override;
107 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) override; 108 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) override;
108 virtual void setJavaScriptEnabled(bool) override; 109 virtual void setJavaScriptEnabled(bool) override;
109 virtual void setLayerSquashingEnabled(bool) override; 110 virtual void setLayerSquashingEnabled(bool) override;
110 virtual void setLoadsImagesAutomatically(bool) override; 111 virtual void setLoadsImagesAutomatically(bool) override;
111 virtual void setLoadWithOverviewMode(bool) override; 112 virtual void setLoadWithOverviewMode(bool) override;
112 virtual void setLocalStorageEnabled(bool) override; 113 virtual void setLocalStorageEnabled(bool) override;
113 virtual void setMainFrameClipsContent(bool) override; 114 virtual void setMainFrameClipsContent(bool) override;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // This quirk is to maintain compatibility with Android apps built on 219 // This quirk is to maintain compatibility with Android apps built on
219 // the Android SDK prior to and including version 18. Presumably, this 220 // the Android SDK prior to and including version 18. Presumably, this
220 // can be removed any time after 2015. See http://crbug.com/313754. 221 // can be removed any time after 2015. See http://crbug.com/313754.
221 bool m_clobberUserAgentInitialScaleQuirk; 222 bool m_clobberUserAgentInitialScaleQuirk;
222 bool m_mainFrameResizesAreOrientationChanges; 223 bool m_mainFrameResizesAreOrientationChanges;
223 }; 224 };
224 225
225 } // namespace blink 226 } // namespace blink
226 227
227 #endif 228 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698