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

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

Issue 2901203002: Rename VisualViewport properties to match updated spec (Closed)
Patch Set: Make methods const Created 3 years, 7 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
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 [Replaceable] readonly attribute double pageYOffset; 131 [Replaceable] readonly attribute double pageYOffset;
132 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti ons); 132 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti ons);
133 void scroll(unrestricted double x, unrestricted double y); 133 void scroll(unrestricted double x, unrestricted double y);
134 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions); 134 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions);
135 void scrollTo(unrestricted double x, unrestricted double y); 135 void scrollTo(unrestricted double x, unrestricted double y);
136 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); 136 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions);
137 void scrollBy(unrestricted double x, unrestricted double y); 137 void scrollBy(unrestricted double x, unrestricted double y);
138 138
139 // Visual Viewport API 139 // Visual Viewport API
140 // https://github.com/WICG/ViewportAPI 140 // https://github.com/WICG/ViewportAPI
141 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu te VisualViewport? visualViewport; 141 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu te VisualViewport? view;
142 142
143 // client 143 // client
144 [Replaceable] readonly attribute long screenX; 144 [Replaceable] readonly attribute long screenX;
145 [Replaceable] readonly attribute long screenY; 145 [Replaceable] readonly attribute long screenY;
146 [Replaceable] readonly attribute long outerWidth; 146 [Replaceable] readonly attribute long outerWidth;
147 [Replaceable] readonly attribute long outerHeight; 147 [Replaceable] readonly attribute long outerHeight;
148 [Replaceable] readonly attribute double devicePixelRatio; 148 [Replaceable] readonly attribute double devicePixelRatio;
149 149
150 // Selection API 150 // Selection API
151 // https://w3c.github.io/selection-api/#extensions-to-window-interface 151 // https://w3c.github.io/selection-api/#extensions-to-window-interface
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 218 // FIXME: make this typedef accurate once enough of https://crbug.com/240176
219 // is in place. 219 // is in place.
220 // FIXME: consider putting this typedef in an .idl file containing spec-wide 220 // FIXME: consider putting this typedef in an .idl file containing spec-wide
221 // utility type definitions. 221 // utility type definitions.
222 typedef MessagePort Transferable; 222 typedef MessagePort Transferable;
223 223
224 Window implements GlobalEventHandlers; 224 Window implements GlobalEventHandlers;
225 Window implements WindowBase64; 225 Window implements WindowBase64;
226 Window implements WindowEventHandlers; 226 Window implements WindowEventHandlers;
227 Window implements WindowTimers; 227 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.idl ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698