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

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

Issue 48603002: Implement WindowEventHandlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/html/HTMLAttributeNames.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/WindowEventHandlers.idl
diff --git a/Source/core/css/xhtmlmp.css b/Source/core/frame/WindowEventHandlers.idl
similarity index 72%
copy from Source/core/css/xhtmlmp.css
copy to Source/core/frame/WindowEventHandlers.idl
index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..b7634ae98bf60421bd51029ce00e5a14074bf343 100644
--- a/Source/core/css/xhtmlmp.css
+++ b/Source/core/frame/WindowEventHandlers.idl
@@ -27,11 +27,21 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* Default styles for XHTML Mobile Profile documents where they differ from html.css */
-
-@viewport {
- width: auto;
- /* Ideally these should be removed. Currently here to avoid test result regressions. */
- min-zoom: 0.25;
- max-zoom: 5;
-}
+[
+ NoInterfaceObject,
+ ImplementedAs=DOMWindowEventHandlers
+] interface WindowEventHandlers {
+ //attribute EventHandler onafterprint;
+ //attribute EventHandler onbeforeprint;
+ attribute EventHandler onbeforeunload;
+ attribute EventHandler onhashchange;
+ attribute EventHandler onmessage;
+ attribute EventHandler onoffline;
+ attribute EventHandler ononline;
+ attribute EventHandler onpagehide;
+ attribute EventHandler onpageshow;
+ attribute EventHandler onpopstate;
+ attribute EventHandler onresize;
+ attribute EventHandler onstorage;
+ attribute EventHandler onunload;
+};
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/html/HTMLAttributeNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698