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

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

Issue 1522463003: Refactor resource load and resource selection algorithms as per spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move preloadTypeToString to anonymous namespace Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800 , optional double pageHeightInPixels = 600); 207 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800 , optional double pageHeightInPixels = 600);
208 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber); 208 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber);
209 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft); 209 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft);
210 210
211 [RaisesException] void setPageScaleFactor(float scaleFactor); 211 [RaisesException] void setPageScaleFactor(float scaleFactor);
212 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor); 212 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor);
213 213
214 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib le); 214 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib le);
215 215
216 double effectiveMediaVolume(HTMLMediaElement mediaElement); 216 double effectiveMediaVolume(HTMLMediaElement mediaElement);
217 DOMString effectivePreload(HTMLMediaElement mediaElement);
217 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available); 218 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available);
218 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote); 219 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote);
219 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all ow); 220 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all ow);
220 221
221 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); 222 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
222 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq uence<DOMString> policyAreas); 223 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq uence<DOMString> policyAreas);
223 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); 224 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme);
224 225
225 TypeConversions typeConversions(); 226 TypeConversions typeConversions();
226 227
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 void forceRestrictIFramePermissions(); 354 void forceRestrictIFramePermissions();
354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
355 356
356 void setMediaElementNetworkState(HTMLMediaElement element, long state); 357 void setMediaElementNetworkState(HTMLMediaElement element, long state);
357 358
358 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 359 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
360 361
361 int getScrollAnimationState(Node node); 362 int getScrollAnimationState(Node node);
362 }; 363 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698