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

Unified Diff: sky/engine/core/frame/Window.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/frame/Settings.in ('k') | sky/engine/core/frame/WindowTimers.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/Window.idl
diff --git a/sky/engine/core/frame/Window.idl b/sky/engine/core/frame/Window.idl
index 8c5f135ef7502084715c963b9a7107b46942d9ad..5817122ec599c288b8957708c34aa68e36dc9969 100644
--- a/sky/engine/core/frame/Window.idl
+++ b/sky/engine/core/frame/Window.idl
@@ -26,19 +26,15 @@
// HTML 5 draft spec:
// http://www.w3.org/html/wg/drafts/html/master/browsers.html#window
-// FIXME: explain all uses of [DoNotCheckSecurity]
[
- CheckSecurity=Frame,
- Custom=ToV8,
ImplementedAs=LocalDOMWindow,
- PrimaryGlobal,
] interface Window : EventTarget {
readonly attribute Screen screen;
- [DoNotCheckSecurity, Unforgeable, Replaceable, PutForwards=href] readonly attribute Location location;
+ [Replaceable, PutForwards=href] readonly attribute Location location;
Selection getSelection();
- [DoNotCheckSecurity, CallWith=ExecutionContext] void focus();
+ void focus();
[Replaceable] readonly attribute long outerHeight;
[Replaceable] readonly attribute long outerWidth;
@@ -55,7 +51,7 @@
void resizeTo([Default=Undefined] optional float width, [Default=Undefined] optional float height); // FIXME: this should take longs not floats.
// Self referential attributes
- [DoNotCheckSecurity, Unforgeable] readonly attribute Window window;
+ readonly attribute Window window;
// DOM Level 2 AbstractView Interface
readonly attribute Document document;
@@ -71,18 +67,13 @@
// 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.
- [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attribute long orientation;
+ readonly attribute long orientation;
- [Replaceable] readonly attribute Console console;
-
- [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(RequestAnimationFrameCallback callback);
+ long requestAnimationFrame(RequestAnimationFrameCallback callback);
void cancelAnimationFrame(long id);
[Replaceable] readonly attribute CSS CSS;
- // window.toString() requires special handling in V8
- [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier;
-
// FIXME(sky): can't remove w/o also removing hacks in bindings generator.
[Custom, NotEnumerable] getter Window (DOMString name);
};
« no previous file with comments | « sky/engine/core/frame/Settings.in ('k') | sky/engine/core/frame/WindowTimers.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698