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

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

Issue 1370723002: Include viewport visibility checks for autoplay experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 5 years, 1 month 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); 352 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled);
353 353
354 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms 354 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms
355 // support overlay scrollbars. 355 // support overlay scrollbars.
356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
357 357
358 void forceRestrictIFramePermissions(); 358 void forceRestrictIFramePermissions();
359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
360 360
361 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state); 361 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state);
362
363 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
364 [TypeChecking=Interface] void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
362 }; 365 };
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