| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| 11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
| 12 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
| 13 * | 13 * |
| 14 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY | 14 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
| 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 16 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 16 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 17 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 17 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 18 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 18 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 19 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 19 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 20 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 20 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 [ | 26 [ |
| 27 OmitConstructor | 27 OmitConstructor |
| 28 ] interface InternalSettings { | 28 ] interface InternalSettings { |
| 29 void setInspectorResourcesDataSizeLimits(in long maximumResourcesContentSize
, in long maximumSingleResourceContentSize) raises(DOMException); | |
| 30 void setForceCompositingMode(in boolean enabled) raises(DOMException); | 29 void setForceCompositingMode(in boolean enabled) raises(DOMException); |
| 31 void setEnableCompositingForFixedPosition(in boolean enabled) raises(DOMExce
ption); | 30 void setEnableCompositingForFixedPosition(in boolean enabled) raises(DOMExce
ption); |
| 32 void setEnableCompositingForScrollableFrames(in boolean enabled) raises(DOME
xception); | 31 void setEnableCompositingForScrollableFrames(in boolean enabled) raises(DOME
xception); |
| 33 void setAcceleratedDrawingEnabled(in boolean enabled) raises(DOMException); | 32 void setAcceleratedDrawingEnabled(in boolean enabled) raises(DOMException); |
| 34 void setAcceleratedFiltersEnabled(in boolean enabled) raises(DOMException); | 33 void setAcceleratedFiltersEnabled(in boolean enabled) raises(DOMException); |
| 35 void setMockScrollbarsEnabled(in boolean enabled) raises(DOMException); | 34 void setMockScrollbarsEnabled(in boolean enabled) raises(DOMException); |
| 36 void setUsesOverlayScrollbars(in boolean flag); | 35 void setUsesOverlayScrollbars(in boolean flag); |
| 37 void setPasswordEchoEnabled(in boolean enabled) raises(DOMException); | 36 void setPasswordEchoEnabled(in boolean enabled) raises(DOMException); |
| 38 void setPasswordEchoDurationInSeconds(in double durationInSeconds) raises(DO
MException); | 37 void setPasswordEchoDurationInSeconds(in double durationInSeconds) raises(DO
MException); |
| 39 void setFixedElementsLayoutRelativeToFrame(in boolean enabled) raises(DOMExc
eption); | 38 void setFixedElementsLayoutRelativeToFrame(in boolean enabled) raises(DOMExc
eption); |
| 40 void setUnifiedTextCheckingEnabled(in boolean enabled) raises (DOMException)
; | 39 void setUnifiedTextCheckingEnabled(in boolean enabled) raises (DOMException)
; |
| 41 boolean unifiedTextCheckingEnabled() raises (DOMException); | 40 boolean unifiedTextCheckingEnabled() raises (DOMException); |
| 42 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D
OMException); | 41 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D
OMException); |
| 43 void setTouchEventEmulationEnabled(in boolean enabled) raises(DOMException); | 42 void setTouchEventEmulationEnabled(in boolean enabled) raises(DOMException); |
| 44 void setDeviceSupportsTouch(in boolean enabled) raises(DOMException); | 43 void setDeviceSupportsTouch(in boolean enabled) raises(DOMException); |
| 45 void setDeviceSupportsMouse(in boolean enabled) raises(DOMException); | 44 void setDeviceSupportsMouse(in boolean enabled) raises(DOMException); |
| 46 void setShadowDOMEnabled(in boolean enabled) raises(DOMException); | 45 void setShadowDOMEnabled(in boolean enabled) raises(DOMException); |
| 47 void setAuthorShadowDOMForAnyElementEnabled(in boolean isEnabled); | 46 void setAuthorShadowDOMForAnyElementEnabled(in boolean isEnabled); |
| 48 void setStyleScopedEnabled(in boolean isEnabled); | 47 void setStyleScopedEnabled(in boolean isEnabled); |
| 49 void setStandardFontFamily(in DOMString family, in DOMString script) raises(
DOMException); | 48 void setStandardFontFamily(in DOMString family, in DOMString script) raises(
DOMException); |
| 50 void setSerifFontFamily(in DOMString family, in DOMString script) raises(DOM
Exception); | 49 void setSerifFontFamily(in DOMString family, in DOMString script) raises(DOM
Exception); |
| 51 void setSansSerifFontFamily(in DOMString family, in DOMString script) raises
(DOMException); | 50 void setSansSerifFontFamily(in DOMString family, in DOMString script) raises
(DOMException); |
| 52 void setFixedFontFamily(in DOMString family, in DOMString script) raises(DOM
Exception); | 51 void setFixedFontFamily(in DOMString family, in DOMString script) raises(DOM
Exception); |
| 53 void setCursiveFontFamily(in DOMString family, in DOMString script) raises(D
OMException); | 52 void setCursiveFontFamily(in DOMString family, in DOMString script) raises(D
OMException); |
| 54 void setFantasyFontFamily(in DOMString family, in DOMString script) raises(D
OMException); | 53 void setFantasyFontFamily(in DOMString family, in DOMString script) raises(D
OMException); |
| 55 void setPictographFontFamily(in DOMString family, in DOMString script) raise
s(DOMException); | 54 void setPictographFontFamily(in DOMString family, in DOMString script) raise
s(DOMException); |
| 56 void setTextAutosizingEnabled(in boolean enabled) raises(DOMException); | 55 void setTextAutosizingEnabled(in boolean enabled) raises(DOMException); |
| 57 void setTextAutosizingWindowSizeOverride(in long width, in long height) rais
es(DOMException); | 56 void setTextAutosizingWindowSizeOverride(in long width, in long height) rais
es(DOMException); |
| 58 void setTextAutosizingFontScaleFactor(in float fontScaleFactor) raises(DOMEx
ception); | 57 void setTextAutosizingFontScaleFactor(in float fontScaleFactor) raises(DOMEx
ception); |
| 58 void setResolutionOverride(in long dotsPerCSSInchHorizontally, in long dotsP
erCSSInchVertically) raises(DOMException); |
| 59 void setMediaTypeOverride(in DOMString mediaTypeOverride) raises(DOMExceptio
n); |
| 59 void setEnableScrollAnimator(in boolean enabled) raises(DOMException); | 60 void setEnableScrollAnimator(in boolean enabled) raises(DOMException); |
| 60 boolean scrollAnimatorEnabled() raises(DOMException); | 61 boolean scrollAnimatorEnabled() raises(DOMException); |
| 61 void setCSSExclusionsEnabled(in boolean enabled) raises(DOMException); | 62 void setCSSExclusionsEnabled(in boolean enabled) raises(DOMException); |
| 62 void setCSSVariablesEnabled(in boolean enabled) raises(DOMException); | 63 void setCSSVariablesEnabled(in boolean enabled) raises(DOMException); |
| 63 boolean cssVariablesEnabled() raises(DOMException); | 64 boolean cssVariablesEnabled() raises(DOMException); |
| 64 void setCanStartMedia(in boolean enabled) raises(DOMException); | 65 void setCanStartMedia(in boolean enabled) raises(DOMException); |
| 65 void setMediaPlaybackRequiresUserGesture(in boolean enabled) raises(DOMExcep
tion); | 66 void setMediaPlaybackRequiresUserGesture(in boolean enabled) raises(DOMExcep
tion); |
| 66 void setEditingBehavior(in DOMString behavior) raises(DOMException); | 67 void setEditingBehavior(in DOMString behavior) raises(DOMException); |
| 67 void setFixedPositionCreatesStackingContext(in boolean creates) raises(DOMEx
ception); | 68 void setFixedPositionCreatesStackingContext(in boolean creates) raises(DOMEx
ception); |
| 68 void setSyncXHRInDocumentsEnabled(in boolean enabled) raises(DOMException); | 69 void setSyncXHRInDocumentsEnabled(in boolean enabled) raises(DOMException); |
| 69 void setJavaScriptProfilingEnabled(in boolean creates) raises(DOMException); | |
| 70 void setWindowFocusRestricted(in boolean restricted) raises(DOMException); | 70 void setWindowFocusRestricted(in boolean restricted) raises(DOMException); |
| 71 void setDialogElementEnabled(in boolean enabled) raises(DOMException); | 71 void setDialogElementEnabled(in boolean enabled) raises(DOMException); |
| 72 void setLangAttributeAwareFormControlUIEnabled(in boolean enabled); | 72 void setLangAttributeAwareFormControlUIEnabled(in boolean enabled); |
| 73 | 73 |
| 74 void setPagination(in DOMString mode, in long gap, in [Optional] long pageLe
ngth) raises(DOMException); | 74 void setPagination(in DOMString mode, in long gap, in [Optional] long pageLe
ngth) raises(DOMException); |
| 75 sequence<String> userPreferredLanguages(); | 75 sequence<String> userPreferredLanguages(); |
| 76 void setUserPreferredLanguages(in sequence<String> languages); | 76 void setUserPreferredLanguages(in sequence<String> languages); |
| 77 void allowRoundingHacks(); | 77 void allowRoundingHacks(); |
| 78 void setEnableMockPagePopup(in boolean enabled) raises(DOMException); | 78 void setEnableMockPagePopup(in boolean enabled) raises(DOMException); |
| 79 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 79 [Conditional=VIDEO_TRACK] void setShouldDisplayTrackKind(in DOMString kind,
in boolean enabled) raises (DOMException); |
| 80 void setShouldDisplayTrackKind(in DOMString kind, in boolean enabled) raises
(DOMException); | 80 [Conditional=VIDEO_TRACK] boolean shouldDisplayTrackKind(in DOMString trackK
ind) raises (DOMException); |
| 81 boolean shouldDisplayTrackKind(in DOMString trackKind) raises (DOMException)
; | |
| 82 #endif | |
| 83 void setMemoryInfoEnabled(in boolean enabled) raises(DOMException); | 81 void setMemoryInfoEnabled(in boolean enabled) raises(DOMException); |
| 84 void setStorageBlockingPolicy(in DOMString policy) raises(DOMException); | 82 void setStorageBlockingPolicy(in DOMString policy) raises(DOMException); |
| 85 void setImagesEnabled(in boolean enabled) raises(DOMException); | 83 void setImagesEnabled(in boolean enabled) raises(DOMException); |
| 86 }; | 84 }; |
| OLD | NEW |