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

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: 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 void setFocused(bool); 343 void setFocused(bool);
344 void setInitialFocus(bool); 344 void setInitialFocus(bool);
345 345
346 bool ignoreLayoutWithPendingStylesheets(Document*); 346 bool ignoreLayoutWithPendingStylesheets(Document*);
347 347
348 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or 348 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo or
349 // setNetworkStateMaxBandwidth. 349 // setNetworkStateMaxBandwidth.
350 void setNetworkStateNotifierTestOnly(bool); 350 void setNetworkStateNotifierTestOnly(bool);
351 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&); 351 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti onState&);
352 352
353 ClientRect* boundsInViewportSpace(Element*); 353 // ClientRect* boundsInViewportSpace(Element*);
bokan 2015/11/24 20:59:24 Remove
354 354
355 unsigned countHitRegions(CanvasRenderingContext*); 355 unsigned countHitRegions(CanvasRenderingContext*);
356 356
357 bool isInCanvasFontCache(Document*, const String&); 357 bool isInCanvasFontCache(Document*, const String&);
358 unsigned canvasFontCacheMaxFonts(); 358 unsigned canvasFontCacheMaxFonts();
359 359
360 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&); 360 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
361 361
362 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. 362 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
363 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 363 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
412 Member<InternalRuntimeFlags> m_runtimeFlags; 412 Member<InternalRuntimeFlags> m_runtimeFlags;
413 413
414 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 414 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
415 }; 415 };
416 416
417 } // namespace blink 417 } // namespace blink
418 418
419 #endif // Internals_h 419 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698