OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void setAccessibilityFontScaleFactor(float font_scale_factor, | 119 void setAccessibilityFontScaleFactor(float font_scale_factor, |
120 ExceptionState&); | 120 ExceptionState&); |
121 void setTextAutosizingWindowSizeOverride(int width, | 121 void setTextAutosizingWindowSizeOverride(int width, |
122 int height, | 122 int height, |
123 ExceptionState&); | 123 ExceptionState&); |
124 void setViewportEnabled(bool, ExceptionState&); | 124 void setViewportEnabled(bool, ExceptionState&); |
125 void setViewportMetaEnabled(bool, ExceptionState&); | 125 void setViewportMetaEnabled(bool, ExceptionState&); |
126 void setViewportStyle(const String& preference, ExceptionState&); | 126 void setViewportStyle(const String& preference, ExceptionState&); |
127 void setCompositorWorkerEnabled(bool, ExceptionState&); | 127 void setCompositorWorkerEnabled(bool, ExceptionState&); |
128 void setPresentationReceiver(bool, ExceptionState&); | 128 void setPresentationReceiver(bool, ExceptionState&); |
| 129 void setAutoplayPolicy(const String&, ExceptionState&); |
129 | 130 |
130 // FIXME: The following are RuntimeEnabledFeatures and likely | 131 // FIXME: The following are RuntimeEnabledFeatures and likely |
131 // cannot be changed after process start. These setters should | 132 // cannot be changed after process start. These setters should |
132 // be removed or moved onto internals.runtimeFlags: | 133 // be removed or moved onto internals.runtimeFlags: |
133 void setCSSStickyPositionEnabled(bool); | 134 void setCSSStickyPositionEnabled(bool); |
134 void setLangAttributeAwareFormControlUIEnabled(bool); | 135 void setLangAttributeAwareFormControlUIEnabled(bool); |
135 void setOverlayScrollbarsEnabled(bool); | 136 void setOverlayScrollbarsEnabled(bool); |
136 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); | 137 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); |
137 void setImageAnimationPolicy(const String&, ExceptionState&); | 138 void setImageAnimationPolicy(const String&, ExceptionState&); |
138 void setScrollTopLeftInteropEnabled(bool); | 139 void setScrollTopLeftInteropEnabled(bool); |
(...skipping 13 matching lines...) Expand all Loading... |
152 Settings* GetSettings() const; | 153 Settings* GetSettings() const; |
153 Page* GetPage() const { return GetSupplementable(); } | 154 Page* GetPage() const { return GetSupplementable(); } |
154 static const char* SupplementName(); | 155 static const char* SupplementName(); |
155 | 156 |
156 Backup backup_; | 157 Backup backup_; |
157 }; | 158 }; |
158 | 159 |
159 } // namespace blink | 160 } // namespace blink |
160 | 161 |
161 #endif // InternalSettings_h | 162 #endif // InternalSettings_h |
OLD | NEW |