| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // be removed or moved onto internals.runtimeFlags: | 122 // be removed or moved onto internals.runtimeFlags: |
| 123 void setAuthorShadowDOMForAnyElementEnabled(bool); | 123 void setAuthorShadowDOMForAnyElementEnabled(bool); |
| 124 void setCSSStickyPositionEnabled(bool); | 124 void setCSSStickyPositionEnabled(bool); |
| 125 void setLangAttributeAwareFormControlUIEnabled(bool); | 125 void setLangAttributeAwareFormControlUIEnabled(bool); |
| 126 void setOverlayScrollbarsEnabled(bool); | 126 void setOverlayScrollbarsEnabled(bool); |
| 127 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); | 127 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); |
| 128 void setImageColorProfilesEnabled(bool); | 128 void setImageColorProfilesEnabled(bool); |
| 129 void setImageAnimationPolicy(const String&, ExceptionState&); | 129 void setImageAnimationPolicy(const String&, ExceptionState&); |
| 130 void setScrollTopLeftInteropEnabled(bool); | 130 void setScrollTopLeftInteropEnabled(bool); |
| 131 void setLinkHeaderEnabled(bool); | 131 void setLinkHeaderEnabled(bool); |
| 132 void setNewMediaPlaybackUiEnabled(bool); |
| 132 | 133 |
| 133 DECLARE_VIRTUAL_TRACE(); | 134 DECLARE_VIRTUAL_TRACE(); |
| 134 | 135 |
| 135 void setAvailablePointerTypes(const String&, ExceptionState&); | 136 void setAvailablePointerTypes(const String&, ExceptionState&); |
| 136 void setPrimaryPointerType(const String&, ExceptionState&); | 137 void setPrimaryPointerType(const String&, ExceptionState&); |
| 137 void setAvailableHoverTypes(const String&, ExceptionState&); | 138 void setAvailableHoverTypes(const String&, ExceptionState&); |
| 138 void setPrimaryHoverType(const String&, ExceptionState&); | 139 void setPrimaryHoverType(const String&, ExceptionState&); |
| 139 void setDnsPrefetchLogging(bool, ExceptionState&); | 140 void setDnsPrefetchLogging(bool, ExceptionState&); |
| 140 void setPreloadLogging(bool, ExceptionState&); | 141 void setPreloadLogging(bool, ExceptionState&); |
| 141 | 142 |
| 142 private: | 143 private: |
| 143 explicit InternalSettings(Page&); | 144 explicit InternalSettings(Page&); |
| 144 | 145 |
| 145 Settings* settings() const; | 146 Settings* settings() const; |
| 146 Page* page() const { return m_page; } | 147 Page* page() const { return m_page; } |
| 147 static const char* supplementName(); | 148 static const char* supplementName(); |
| 148 | 149 |
| 149 RawPtrWillBeWeakMember<Page> m_page; | 150 RawPtrWillBeWeakMember<Page> m_page; |
| 150 Backup m_backup; | 151 Backup m_backup; |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 } // namespace blink | 154 } // namespace blink |
| 154 | 155 |
| 155 #endif // InternalSettings_h | 156 #endif // InternalSettings_h |
| OLD | NEW |