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

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

Issue 1463723003: Return VisualViewport coords in boundsInViewportSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // before calling setNetworkConnectionInfo. 312 // before calling setNetworkConnectionInfo.
313 void setNetworkStateNotifierTestOnly(boolean testOnly); 313 void setNetworkStateNotifierTestOnly(boolean testOnly);
314 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps); 314 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps);
315 315
316 // This function is for testing HitRegions on Canvas2D. 316 // This function is for testing HitRegions on Canvas2D.
317 unsigned long countHitRegions(CanvasRenderingContext2D context); 317 unsigned long countHitRegions(CanvasRenderingContext2D context);
318 318
319 boolean isInCanvasFontCache(Document document, DOMString fontString); 319 boolean isInCanvasFontCache(Document document, DOMString fontString);
320 unsigned long canvasFontCacheMaxFonts(); 320 unsigned long canvasFontCacheMaxFonts();
321 321
322 ClientRect boundsInViewportSpace(Element element);
323
324 DictionaryTest dictionaryTest(); 322 DictionaryTest dictionaryTest();
325 UnionTypesTest unionTypesTest(); 323 UnionTypesTest unionTypesTest();
326 [RaisesException] void setScrollChain(ScrollState scrollState, Element[] ele ments); 324 [RaisesException] void setScrollChain(ScrollState scrollState, Element[] ele ments);
327 void forceBlinkGCWithoutV8GC(); 325 void forceBlinkGCWithoutV8GC();
328 326
329 DOMString selectedHTMLForClipboard(); 327 DOMString selectedHTMLForClipboard();
330 DOMString selectedTextForClipboard(); 328 DOMString selectedTextForClipboard();
331 329
332 void setVisualViewportOffset(long x, long y); 330 void setVisualViewportOffset(long x, long y);
333 int visualViewportHeight(); 331 int visualViewportHeight();
(...skipping 20 matching lines...) Expand all
354 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 352 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
355 353
356 void forceRestrictIFramePermissions(); 354 void forceRestrictIFramePermissions();
357 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
358 356
359 void setMediaElementNetworkState(HTMLMediaElement element, long state); 357 void setMediaElementNetworkState(HTMLMediaElement element, long state);
360 358
361 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 359 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
362 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
363 }; 361 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698