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

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

Issue 1236913004: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add to leak expectations. Created 5 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 | « Source/core/page/scrolling/ScrollStateCallback.idl ('k') | Source/core/testing/Internals.cpp » ('j') | 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 343 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
344 void setNetworkConnectionInfo(const String&, ExceptionState&); 344 void setNetworkConnectionInfo(const String&, ExceptionState&);
345 345
346 ClientRect* boundsInViewportSpace(Element*); 346 ClientRect* boundsInViewportSpace(Element*);
347 347
348 unsigned countHitRegions(CanvasRenderingContext*); 348 unsigned countHitRegions(CanvasRenderingContext*);
349 349
350 bool isInCanvasFontCache(Document*, const String&); 350 bool isInCanvasFontCache(Document*, const String&);
351 unsigned canvasFontCacheMaxFonts(); 351 unsigned canvasFontCacheMaxFonts();
352 352
353 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. 353 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
354
355 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
354 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 356 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
355 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 357 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
356 void forceBlinkGCWithoutV8GC(); 358 void forceBlinkGCWithoutV8GC();
357 359
358 String selectedHTMLForClipboard(); 360 String selectedHTMLForClipboard();
359 String selectedTextForClipboard(); 361 String selectedTextForClipboard();
360 362
361 void setVisualViewportOffset(int x, int y); 363 void setVisualViewportOffset(int x, int y);
362 364
363 // Return true if the given use counter exists for the given document. 365 // Return true if the given use counter exists for the given document.
(...skipping 19 matching lines...) Expand all
383 385
384 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 386 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
385 Member<InternalRuntimeFlags> m_runtimeFlags; 387 Member<InternalRuntimeFlags> m_runtimeFlags;
386 388
387 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 389 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
388 }; 390 };
389 391
390 } // namespace blink 392 } // namespace blink
391 393
392 #endif // Internals_h 394 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollStateCallback.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698