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 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 [RaisesException] void setViewportMetaEnabled(boolean enabled); | 49 [RaisesException] void setViewportMetaEnabled(boolean enabled); |
50 [RaisesException] void setViewportStyle(DOMString style); | 50 [RaisesException] void setViewportStyle(DOMString style); |
51 [RaisesException] void setAvailablePointerTypes(DOMString pointers); | 51 [RaisesException] void setAvailablePointerTypes(DOMString pointers); |
52 [RaisesException] void setPrimaryPointerType(DOMString pointer); | 52 [RaisesException] void setPrimaryPointerType(DOMString pointer); |
53 [RaisesException] void setAvailableHoverTypes(DOMString types); | 53 [RaisesException] void setAvailableHoverTypes(DOMString types); |
54 [RaisesException] void setPrimaryHoverType(DOMString type); | 54 [RaisesException] void setPrimaryHoverType(DOMString type); |
55 [RaisesException] void setImageAnimationPolicy(DOMString policy); | 55 [RaisesException] void setImageAnimationPolicy(DOMString policy); |
56 [RaisesException] void setCompositorWorkerEnabled(boolean enabled); | 56 [RaisesException] void setCompositorWorkerEnabled(boolean enabled); |
57 [RaisesException] void setPresentationReceiver(boolean enabled); | 57 [RaisesException] void setPresentationReceiver(boolean enabled); |
58 [RaisesException] void setAutoplayPolicy(DOMString policy); | 58 [RaisesException] void setAutoplayPolicy(DOMString policy); |
| 59 [RaisesException] void setDataSaverEnabled(boolean enabled); |
59 | 60 |
60 // FIXME: The following are RuntimeEnabledFeatures and likely | 61 // FIXME: The following are RuntimeEnabledFeatures and likely |
61 // cannot be changed after process start. These setters should | 62 // cannot be changed after process start. These setters should |
62 // be removed or moved onto internals.runtimeFlags: | 63 // be removed or moved onto internals.runtimeFlags: |
63 void setCSSStickyPositionEnabled(boolean enabled); | 64 void setCSSStickyPositionEnabled(boolean enabled); |
64 void setLangAttributeAwareFormControlUIEnabled(boolean enabled); | 65 void setLangAttributeAwareFormControlUIEnabled(boolean enabled); |
65 void setOverlayScrollbarsEnabled(boolean enabled); | 66 void setOverlayScrollbarsEnabled(boolean enabled); |
66 void setExperimentalContentSecurityPolicyFeaturesEnabled(boolean enabled); | 67 void setExperimentalContentSecurityPolicyFeaturesEnabled(boolean enabled); |
67 void setScrollTopLeftInteropEnabled(boolean enabled); | 68 void setScrollTopLeftInteropEnabled(boolean enabled); |
68 }; | 69 }; |
OLD | NEW |