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

Unified Diff: Source/core/frame/Window.idl

Issue 137143002: Remove compile time flag ORIENTATION_EVENT and use runtime flag instead. Update layout test case to… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Window.idl
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
index 632e3a26b4504f624b84df0ce7b0370e97b56f4f..e002236390fd6c8ccf81ade94afe66f4f5b3f623 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -153,7 +153,7 @@
// This is the interface orientation in degrees. Some examples are:
// 0 is straight up; -90 is when the device is rotated 90 clockwise;
// 90 is when rotated counter clockwise.
- [Conditional=ORIENTATION_EVENTS] readonly attribute long orientation;
+ [RuntimeEnabled=OrientationEvent] readonly attribute long orientation;
[Replaceable] readonly attribute Console console;
@@ -176,7 +176,7 @@
[RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationstart;
[RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion;
[RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientation;
- [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
+ [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange;
attribute EventHandler onsearch;
[RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
[RuntimeEnabled=Touch] attribute EventHandler ontouchend;
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698