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

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

Issue 524523003: Revert of Remove webkitConvertPointFromPageToNode() and webkitConvertPointFromNodeToPage() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 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/frame/UseCounter.h ('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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // DOM Level 2 Style Interface 141 // DOM Level 2 Style Interface
142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement, 142 CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element el ement,
143 [TreatUndefinedAs=NullString, Default=U ndefined] optional DOMString? pseudoElement); 143 [TreatUndefinedAs=NullString, Default=U ndefined] optional DOMString? pseudoElement);
144 144
145 // WebKit extensions 145 // WebKit extensions
146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element, 146 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element,
147 [TreatUndefine dAs=NullString, Default=Undefined] optional DOMString? pseudoElement); 147 [TreatUndefine dAs=NullString, Default=Undefined] optional DOMString? pseudoElement);
148 148
149 [Replaceable] readonly attribute double devicePixelRatio; 149 [Replaceable] readonly attribute double devicePixelRatio;
150 150
151 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin tFromPageToNode([Default=Undefined] optional Node node,
152 [Default=Undefined] optional WebKitPoint p);
153 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin tFromNodeToPage([Default=Undefined] optional Node node,
154 [Default=Undefined] optional WebKitPoint p);
155
151 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; 156 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
152 157
153 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett er] readonly attribute Storage sessionStorage; 158 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett er] readonly attribute Storage sessionStorage;
154 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter ] readonly attribute Storage localStorage; 159 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter ] readonly attribute Storage localStorage;
155 160
156 // This is the interface orientation in degrees. Some examples are: 161 // This is the interface orientation in degrees. Some examples are:
157 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 162 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
158 // 90 is when rotated counter clockwise. 163 // 90 is when rotated counter clockwise.
159 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; 164 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation;
160 165
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 223 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
219 // is in place. 224 // is in place.
220 // FIXME: consider putting this typedef in an .idl file containing spec-wide 225 // FIXME: consider putting this typedef in an .idl file containing spec-wide
221 // utility type definitions. 226 // utility type definitions.
222 typedef MessagePort Transferable; 227 typedef MessagePort Transferable;
223 228
224 Window implements GlobalEventHandlers; 229 Window implements GlobalEventHandlers;
225 Window implements WindowBase64; 230 Window implements WindowBase64;
226 Window implements WindowEventHandlers; 231 Window implements WindowEventHandlers;
227 Window implements WindowTimers; 232 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698