| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void setEditingBehavior(const String&, ExceptionState&); | 100 void setEditingBehavior(const String&, ExceptionState&); |
| 101 void setImagesEnabled(bool, ExceptionState&); | 101 void setImagesEnabled(bool, ExceptionState&); |
| 102 void setMediaTypeOverride(const String& mediaType, ExceptionState&); | 102 void setMediaTypeOverride(const String& mediaType, ExceptionState&); |
| 103 void setMockScrollbarsEnabled(bool, ExceptionState&); | 103 void setMockScrollbarsEnabled(bool, ExceptionState&); |
| 104 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&); | 104 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&); |
| 105 void setTextAutosizingEnabled(bool, ExceptionState&); | 105 void setTextAutosizingEnabled(bool, ExceptionState&); |
| 106 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&)
; | 106 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&)
; |
| 107 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta
te&); | 107 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta
te&); |
| 108 void setViewportEnabled(bool, ExceptionState&); | 108 void setViewportEnabled(bool, ExceptionState&); |
| 109 | 109 |
| 110 // FIXME: This is a temporary flag and should be removed once squashing is | |
| 111 // ready (crbug.com/261605). | |
| 112 void setLayerSquashingEnabled(bool, ExceptionState&); | |
| 113 | |
| 114 // FIXME: The following are RuntimeEnabledFeatures and likely | 110 // FIXME: The following are RuntimeEnabledFeatures and likely |
| 115 // cannot be changed after process start. These setters should | 111 // cannot be changed after process start. These setters should |
| 116 // be removed or moved onto internals.runtimeFlags: | 112 // be removed or moved onto internals.runtimeFlags: |
| 117 void setAuthorShadowDOMForAnyElementEnabled(bool); | 113 void setAuthorShadowDOMForAnyElementEnabled(bool); |
| 118 void setLangAttributeAwareFormControlUIEnabled(bool); | 114 void setLangAttributeAwareFormControlUIEnabled(bool); |
| 119 void setOverlayScrollbarsEnabled(bool); | 115 void setOverlayScrollbarsEnabled(bool); |
| 120 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); | 116 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); |
| 121 void setLaxMixedContentCheckingEnabled(bool); | 117 void setLaxMixedContentCheckingEnabled(bool); |
| 122 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool); | 118 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool); |
| 123 void setImageColorProfilesEnabled(bool); | 119 void setImageColorProfilesEnabled(bool); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 136 Page* page() const { return m_page; } | 132 Page* page() const { return m_page; } |
| 137 static const char* supplementName(); | 133 static const char* supplementName(); |
| 138 | 134 |
| 139 RawPtrWillBeWeakMember<Page> m_page; | 135 RawPtrWillBeWeakMember<Page> m_page; |
| 140 Backup m_backup; | 136 Backup m_backup; |
| 141 }; | 137 }; |
| 142 | 138 |
| 143 } // namespace blink | 139 } // namespace blink |
| 144 | 140 |
| 145 #endif // InternalSettings_h | 141 #endif // InternalSettings_h |
| OLD | NEW |