| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // cannot be changed after process start. These setters should | 116 // cannot be changed after process start. These setters should |
| 117 // be removed or moved onto internals.runtimeFlags: | 117 // be removed or moved onto internals.runtimeFlags: |
| 118 void setAuthorShadowDOMForAnyElementEnabled(bool); | 118 void setAuthorShadowDOMForAnyElementEnabled(bool); |
| 119 void setLangAttributeAwareFormControlUIEnabled(bool); | 119 void setLangAttributeAwareFormControlUIEnabled(bool); |
| 120 void setOverlayScrollbarsEnabled(bool); | 120 void setOverlayScrollbarsEnabled(bool); |
| 121 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); | 121 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); |
| 122 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool); | 122 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool); |
| 123 void setImageColorProfilesEnabled(bool); | 123 void setImageColorProfilesEnabled(bool); |
| 124 void setImageAnimationPolicy(const String&, ExceptionState&); | 124 void setImageAnimationPolicy(const String&, ExceptionState&); |
| 125 void setScrollTopLeftInteropEnabled(bool); | 125 void setScrollTopLeftInteropEnabled(bool); |
| 126 void setLinkHeaderEnabled(bool); |
| 126 | 127 |
| 127 virtual void trace(Visitor*) override; | 128 virtual void trace(Visitor*) override; |
| 128 | 129 |
| 129 void setAvailablePointerTypes(const String&, ExceptionState&); | 130 void setAvailablePointerTypes(const String&, ExceptionState&); |
| 130 void setPrimaryPointerType(const String&, ExceptionState&); | 131 void setPrimaryPointerType(const String&, ExceptionState&); |
| 131 void setAvailableHoverTypes(const String&, ExceptionState&); | 132 void setAvailableHoverTypes(const String&, ExceptionState&); |
| 132 void setPrimaryHoverType(const String&, ExceptionState&); | 133 void setPrimaryHoverType(const String&, ExceptionState&); |
| 133 void setDnsPrefetchLogging(bool, ExceptionState&); | 134 void setDnsPrefetchLogging(bool, ExceptionState&); |
| 134 | 135 |
| 135 private: | 136 private: |
| 136 explicit InternalSettings(Page&); | 137 explicit InternalSettings(Page&); |
| 137 | 138 |
| 138 Settings* settings() const; | 139 Settings* settings() const; |
| 139 Page* page() const { return m_page; } | 140 Page* page() const { return m_page; } |
| 140 static const char* supplementName(); | 141 static const char* supplementName(); |
| 141 | 142 |
| 142 RawPtrWillBeWeakMember<Page> m_page; | 143 RawPtrWillBeWeakMember<Page> m_page; |
| 143 Backup m_backup; | 144 Backup m_backup; |
| 144 }; | 145 }; |
| 145 | 146 |
| 146 } // namespace blink | 147 } // namespace blink |
| 147 | 148 |
| 148 #endif // InternalSettings_h | 149 #endif // InternalSettings_h |
| OLD | NEW |