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

Side by Side Diff: sky/engine/core/frame/Window.idl

Issue 671173006: Remove lots of machinery related to inline event handlers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/frame/LocalDOMWindow.h ('k') | sky/engine/core/frame/WindowEventHandlers.idl » ('j') | 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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // 90 is when rotated counter clockwise. 105 // 90 is when rotated counter clockwise.
106 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; 106 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation;
107 107
108 [Replaceable] readonly attribute Console console; 108 [Replaceable] readonly attribute Console console;
109 109
110 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback); 110 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
111 void cancelAnimationFrame(long id); 111 void cancelAnimationFrame(long id);
112 112
113 [Replaceable] readonly attribute CSS CSS; 113 [Replaceable] readonly attribute CSS CSS;
114 114
115 // Event handler attributes
116 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d;
117 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration;
118 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art;
119 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange ;
120 attribute EventHandler onsearch;
121 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
122 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
123 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
124 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
125 attribute EventHandler ontransitionend;
126 attribute EventHandler onwheel;
127
128 // window.toString() requires special handling in V8 115 // window.toString() requires special handling in V8
129 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 116 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
130 117
131 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. 118 // FIXME(sky): can't remove w/o also removing hacks in bindings generator.
132 [Custom, NotEnumerable] getter Window (DOMString name); 119 [Custom, NotEnumerable] getter Window (DOMString name);
133 }; 120 };
134 121
135 Window implements WindowBase64; 122 Window implements WindowBase64;
136 Window implements WindowEventHandlers;
137 Window implements WindowTimers; 123 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « sky/engine/core/frame/LocalDOMWindow.h ('k') | sky/engine/core/frame/WindowEventHandlers.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698