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

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

Issue 772363002: Remove code to collect rules when matching. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/UseCounter.h ('k') | sky/engine/core/html/HTMLContentElement.cpp » ('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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // CSSOM View Module 74 // CSSOM View Module
75 MediaQueryList matchMedia(DOMString query); 75 MediaQueryList matchMedia(DOMString query);
76 76
77 // styleMedia has been removed from the CSSOM View specification. 77 // styleMedia has been removed from the CSSOM View specification.
78 readonly attribute StyleMedia styleMedia; 78 readonly attribute StyleMedia styleMedia;
79 79
80 // DOM Level 2 Style Interface 80 // DOM Level 2 Style Interface
81 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement, 81 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement,
82 [TreatUndefinedAs=NullString, Default=U ndefined] optional DOMString? pseudoElement); 82 [TreatUndefinedAs=NullString, Default=U ndefined] optional DOMString? pseudoElement);
83 83
84 // WebKit extensions
85 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element,
86 [TreatUndefine dAs=NullString, Default=Undefined] optional DOMString? pseudoElement);
87
88 [Replaceable] readonly attribute double devicePixelRatio; 84 [Replaceable] readonly attribute double devicePixelRatio;
89 85
90 // This is the interface orientation in degrees. Some examples are: 86 // This is the interface orientation in degrees. Some examples are:
91 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 87 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
92 // 90 is when rotated counter clockwise. 88 // 90 is when rotated counter clockwise.
93 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; 89 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation;
94 90
95 [Replaceable] readonly attribute Console console; 91 [Replaceable] readonly attribute Console console;
96 92
97 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback); 93 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
98 void cancelAnimationFrame(long id); 94 void cancelAnimationFrame(long id);
99 95
100 [Replaceable] readonly attribute CSS CSS; 96 [Replaceable] readonly attribute CSS CSS;
101 97
102 // window.toString() requires special handling in V8 98 // window.toString() requires special handling in V8
103 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 99 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
104 100
105 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. 101 // FIXME(sky): can't remove w/o also removing hacks in bindings generator.
106 [Custom, NotEnumerable] getter Window (DOMString name); 102 [Custom, NotEnumerable] getter Window (DOMString name);
107 }; 103 };
108 104
109 Window implements WindowBase64; 105 Window implements WindowBase64;
110 Window implements WindowTimers; 106 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « sky/engine/core/frame/UseCounter.h ('k') | sky/engine/core/html/HTMLContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698