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

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: Created 5 years, 1 month 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // before calling setNetworkConnectionInfo. 314 // before calling setNetworkConnectionInfo.
315 void setNetworkStateNotifierTestOnly(boolean testOnly); 315 void setNetworkStateNotifierTestOnly(boolean testOnly);
316 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps); 316 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl inkMaxMbps);
317 317
318 // This function is for testing HitRegions on Canvas2D. 318 // This function is for testing HitRegions on Canvas2D.
319 unsigned long countHitRegions(CanvasRenderingContext2D context); 319 unsigned long countHitRegions(CanvasRenderingContext2D context);
320 320
321 [TypeChecking=Interface] boolean isInCanvasFontCache(Document document, DOMS tring fontString); 321 [TypeChecking=Interface] boolean isInCanvasFontCache(Document document, DOMS tring fontString);
322 [TypeChecking=Interface] unsigned long canvasFontCacheMaxFonts(); 322 [TypeChecking=Interface] unsigned long canvasFontCacheMaxFonts();
323 323
324 [TypeChecking=Interface] ClientRect boundsInViewportSpace(Element element); 324 //[TypeChecking=Interface] ClientRect boundsInViewportSpace(Element element);
bokan 2015/11/24 20:59:24 Just remove the method
325 325
326 DictionaryTest dictionaryTest(); 326 DictionaryTest dictionaryTest();
327 UnionTypesTest unionTypesTest(); 327 UnionTypesTest unionTypesTest();
328 [RaisesException, TypeChecking=Interface] void setScrollChain(ScrollState sc rollState, Element[] elements); 328 [RaisesException, TypeChecking=Interface] void setScrollChain(ScrollState sc rollState, Element[] elements);
329 void forceBlinkGCWithoutV8GC(); 329 void forceBlinkGCWithoutV8GC();
330 330
331 DOMString selectedHTMLForClipboard(); 331 DOMString selectedHTMLForClipboard();
332 DOMString selectedTextForClipboard(); 332 DOMString selectedTextForClipboard();
333 333
334 void setVisualViewportOffset(long x, long y); 334 void setVisualViewportOffset(long x, long y);
(...skipping 21 matching lines...) Expand all
356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
357 357
358 void forceRestrictIFramePermissions(); 358 void forceRestrictIFramePermissions();
359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
360 360
361 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state); 361 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state);
362 362
363 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 363 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
364 [TypeChecking=Interface] void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 364 [TypeChecking=Interface] void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
365 }; 365 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698