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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2320303002: Reset VisualViewport position after same page navigation (Closed)
Patch Set: update comment Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne d long maxDeadBytes, unsigned long totalBytes); 202 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne d long maxDeadBytes, unsigned long totalBytes);
203 203
204 DOMString counterValue(Element element); 204 DOMString counterValue(Element element);
205 [RaisesException] long pageNumber(Element element, optional float pageWidth = 800, optional float pageHeight = 600); 205 [RaisesException] long pageNumber(Element element, optional float pageWidth = 800, optional float pageHeight = 600);
206 DOMString[] shortcutIconURLs(Document document); 206 DOMString[] shortcutIconURLs(Document document);
207 DOMString[] allIconURLs(Document document); 207 DOMString[] allIconURLs(Document document);
208 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800 , optional double pageHeightInPixels = 600); 208 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800 , optional double pageHeightInPixels = 600);
209 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber); 209 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber);
210 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft); 210 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft);
211 211
212 [RaisesException] float pageScaleFactor();
212 [RaisesException] void setPageScaleFactor(float scaleFactor); 213 [RaisesException] void setPageScaleFactor(float scaleFactor);
213 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor); 214 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor);
214 215
215 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib le); 216 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib le);
216 217
217 double effectiveMediaVolume(HTMLMediaElement mediaElement); 218 double effectiveMediaVolume(HTMLMediaElement mediaElement);
218 DOMString effectivePreload(HTMLMediaElement mediaElement); 219 DOMString effectivePreload(HTMLMediaElement mediaElement);
219 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available); 220 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available);
220 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote); 221 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea n remote);
221 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all ow); 222 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all ow);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 349 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
349 350
350 DOMString getScrollAnimationState(Node node); 351 DOMString getScrollAnimationState(Node node);
351 352
352 DOMString getProgrammaticScrollAnimationState(Node node); 353 DOMString getProgrammaticScrollAnimationState(Node node);
353 354
354 ClientRect visualRect(Node node); 355 ClientRect visualRect(Node node);
355 356
356 void crash(); 357 void crash();
357 }; 358 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698