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

Unified Diff: Source/modules/presentation/NavigatorPresentation.idl

Issue 408663002: Add the Presentation API module and a single event target (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/presentation/NavigatorPresentation.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceDocument.idl b/Source/modules/presentation/NavigatorPresentation.idl
similarity index 90%
copy from Source/bindings/tests/idls/TestInterfaceDocument.idl
copy to Source/modules/presentation/NavigatorPresentation.idl
index 2a687e871a44bace871a2d7b65243bbbdedc7339..f2ec4aa7fad9b459a17440f58bb107b6c25978a9 100644
--- a/Source/bindings/tests/idls/TestInterfaceDocument.idl
+++ b/Source/modules/presentation/NavigatorPresentation.idl
@@ -28,5 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface TestInterfaceDocument : Document {
+// http://webscreens.github.io/presentation-api/#presentation-extension-to-navigator
+
+partial interface Navigator {
+ readonly attribute Presentation presentation;
};

Powered by Google App Engine
This is Rietveld 408576698