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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 void setLayerSquashingEnabled(bool, ExceptionState&); | 112 void setLayerSquashingEnabled(bool, ExceptionState&); |
113 | 113 |
114 // FIXME: The following are RuntimeEnabledFeatures and likely | 114 // FIXME: The following are RuntimeEnabledFeatures and likely |
115 // cannot be changed after process start. These setters should | 115 // cannot be changed after process start. These setters should |
116 // be removed or moved onto internals.runtimeFlags: | 116 // be removed or moved onto internals.runtimeFlags: |
117 void setAuthorShadowDOMForAnyElementEnabled(bool); | 117 void setAuthorShadowDOMForAnyElementEnabled(bool); |
118 void setCSSExclusionsEnabled(bool); | 118 void setCSSExclusionsEnabled(bool); |
119 void setExperimentalWebSocketEnabled(bool); | 119 void setExperimentalWebSocketEnabled(bool); |
120 void setLangAttributeAwareFormControlUIEnabled(bool); | 120 void setLangAttributeAwareFormControlUIEnabled(bool); |
121 void setOverlayScrollbarsEnabled(bool); | 121 void setOverlayScrollbarsEnabled(bool); |
122 void setStyleScopedEnabled(bool); | |
123 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); | 122 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); |
124 | 123 |
125 virtual void trace(Visitor* visitor) OVERRIDE { InternalSettingsGenerated::t
race(visitor); } | 124 virtual void trace(Visitor* visitor) OVERRIDE { InternalSettingsGenerated::t
race(visitor); } |
126 | 125 |
127 private: | 126 private: |
128 explicit InternalSettings(Page&); | 127 explicit InternalSettings(Page&); |
129 | 128 |
130 Settings* settings() const; | 129 Settings* settings() const; |
131 Page* page() const { return m_page; } | 130 Page* page() const { return m_page; } |
132 static const char* supplementName(); | 131 static const char* supplementName(); |
133 | 132 |
134 Page* m_page; | 133 Page* m_page; |
135 Backup m_backup; | 134 Backup m_backup; |
136 }; | 135 }; |
137 | 136 |
138 } // namespace WebCore | 137 } // namespace WebCore |
139 | 138 |
140 #endif | 139 #endif |
OLD | NEW |