Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: third_party/WebKit/Source/core/testing/InternalSettings.idl

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698