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

Side by Side Diff: Source/core/frame/Window.idl

Issue 1054303004: Sync CSS interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/StyleSheetList.idl ('k') | no next file » | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // HTML obsolete features 89 // HTML obsolete features
90 // https://html.spec.whatwg.org/#Window-partial 90 // https://html.spec.whatwg.org/#Window-partial
91 [MeasureAs=WindowCaptureEvents] void captureEvents(); 91 [MeasureAs=WindowCaptureEvents] void captureEvents();
92 [MeasureAs=WindowReleaseEvents] void releaseEvents(); 92 [MeasureAs=WindowReleaseEvents] void releaseEvents();
93 93
94 // CSS Object Model (CSSOM) 94 // CSS Object Model (CSSOM)
95 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface 95 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface
96 // FIXME: The optional pseudoElt argument should have no default. 96 // FIXME: The optional pseudoElt argument should have no default.
97 [NewObject, TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Ele ment elt, optional DOMString? pseudoElt = null); 97 [NewObject, TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Ele ment elt, optional DOMString? pseudoElt = null);
98 // http://dev.w3.org/csswg/cssom/#utility-apis 98
99 // CSS Conditional Rules Module
100 // http://dev.w3.org/csswg/css-conditional/#the-css-interface
99 // FIXME: CSS should be an interface with static members, in which 101 // FIXME: CSS should be an interface with static members, in which
100 // case this getter would not be needed. 102 // case this getter would not be needed.
101 [Replaceable] readonly attribute CSS CSS; 103 [Replaceable] readonly attribute CSS CSS;
102 104
103 // CSSOM View Module 105 // CSSOM View Module
104 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface 106 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
105 [NewObject] MediaQueryList matchMedia(DOMString query); 107 [NewObject] MediaQueryList matchMedia(DOMString query);
106 [SameObject] readonly attribute Screen screen; 108 [SameObject] readonly attribute Screen screen;
107 109
108 // browsing context 110 // browsing context
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
208 // is in place. 210 // is in place.
209 // FIXME: consider putting this typedef in an .idl file containing spec-wide 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide
210 // utility type definitions. 212 // utility type definitions.
211 typedef MessagePort Transferable; 213 typedef MessagePort Transferable;
212 214
213 Window implements GlobalEventHandlers; 215 Window implements GlobalEventHandlers;
214 Window implements WindowBase64; 216 Window implements WindowBase64;
215 Window implements WindowEventHandlers; 217 Window implements WindowEventHandlers;
216 Window implements WindowTimers; 218 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « Source/core/css/StyleSheetList.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698