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

Unified Diff: Source/modules/screen_orientation/testing/InternalsScreenOrientation.idl

Issue 132113006: Add initial Blink-side support for the Screen Orientation API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update compile-time assertion for matching enum Created 6 years, 10 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/screen_orientation/testing/InternalsScreenOrientation.idl
diff --git a/Source/core/animation/Timeline.idl b/Source/modules/screen_orientation/testing/InternalsScreenOrientation.idl
similarity index 50%
copy from Source/core/animation/Timeline.idl
copy to Source/modules/screen_orientation/testing/InternalsScreenOrientation.idl
index 47138f768036aa66d960d3eac3207afebb624c6e..0cbc509905d1f382964fd8780590001ef57a84e0 100644
--- a/Source/core/animation/Timeline.idl
+++ b/Source/modules/screen_orientation/testing/InternalsScreenOrientation.idl
@@ -2,9 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=WebAnimationsAPI,
- ImplementedAs=DocumentTimeline,
-] interface Timeline {
- Player play(TimedItem source);
+partial interface Internals {
+ void setScreenOrientationClientMock(Document document);
+ void setScreenOrientation(Document document, DOMString orientation);
};

Powered by Google App Engine
This is Rietveld 408576698