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

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

Issue 2235403002: visualViewport should be [SameObject, Replaceable] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 [Replaceable] readonly attribute double pageYOffset; 124 [Replaceable] readonly attribute double pageYOffset;
125 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti ons); 125 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti ons);
126 void scroll(unrestricted double x, unrestricted double y); 126 void scroll(unrestricted double x, unrestricted double y);
127 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions); 127 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions);
128 void scrollTo(unrestricted double x, unrestricted double y); 128 void scrollTo(unrestricted double x, unrestricted double y);
129 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); 129 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions);
130 void scrollBy(unrestricted double x, unrestricted double y); 130 void scrollBy(unrestricted double x, unrestricted double y);
131 131
132 // Visual Viewport API 132 // Visual Viewport API
133 // https://github.com/WICG/ViewportAPI 133 // https://github.com/WICG/ViewportAPI
134 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visual Viewport; 134 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu te VisualViewport? visualViewport;
135 135
136 // client 136 // client
137 [Replaceable] readonly attribute long screenX; 137 [Replaceable] readonly attribute long screenX;
138 [Replaceable] readonly attribute long screenY; 138 [Replaceable] readonly attribute long screenY;
139 [Replaceable] readonly attribute long outerWidth; 139 [Replaceable] readonly attribute long outerWidth;
140 [Replaceable] readonly attribute long outerHeight; 140 [Replaceable] readonly attribute long outerHeight;
141 [Replaceable] readonly attribute double devicePixelRatio; 141 [Replaceable] readonly attribute double devicePixelRatio;
142 142
143 // Selection API 143 // Selection API
144 // http://w3c.github.io/selection-api/#extensions-to-window-interface 144 // http://w3c.github.io/selection-api/#extensions-to-window-interface
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // 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
210 // is in place. 210 // is in place.
211 // 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
212 // utility type definitions. 212 // utility type definitions.
213 typedef MessagePort Transferable; 213 typedef MessagePort Transferable;
214 214
215 Window implements GlobalEventHandlers; 215 Window implements GlobalEventHandlers;
216 Window implements WindowBase64; 216 Window implements WindowBase64;
217 Window implements WindowEventHandlers; 217 Window implements WindowEventHandlers;
218 Window implements WindowTimers; 218 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698