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

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

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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 void setFocused(bool); 342 void setFocused(bool);
343 void setInitialFocus(bool); 343 void setInitialFocus(bool);
344 344
345 bool ignoreLayoutWithPendingStylesheets(Document*); 345 bool ignoreLayoutWithPendingStylesheets(Document*);
346 346
347 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or 347 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or
348 // setNetworkStateMaxBandwidth. 348 // setNetworkStateMaxBandwidth.
349 void setNetworkStateNotifierTestOnly(bool); 349 void setNetworkStateNotifierTestOnly(bool);
350 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&); 350 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&);
351 351
352 ClientRect* boundsInViewportSpace(Element*);
353
354 unsigned countHitRegions(CanvasRenderingContext*); 352 unsigned countHitRegions(CanvasRenderingContext*);
355 353
356 bool isInCanvasFontCache(Document*, const String&); 354 bool isInCanvasFontCache(Document*, const String&);
357 unsigned canvasFontCacheMaxFonts(); 355 unsigned canvasFontCacheMaxFonts();
358 356
359 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&); 357 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
360 358
361 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. 359 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
362 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 360 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
363 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 361 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 407
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
411 Member<InternalRuntimeFlags> m_runtimeFlags; 409 Member<InternalRuntimeFlags> m_runtimeFlags;
412 410
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 411 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
414 }; 412 };
415 413
416 } // namespace blink 414 } // namespace blink
417 415
418 #endif // Internals_h 416 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698