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

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

Issue 1057603002: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test for calling any subset of the native scrolling methods. Created 5 years, 6 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
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 334 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
335 void setNetworkConnectionInfo(const String&, ExceptionState&); 335 void setNetworkConnectionInfo(const String&, ExceptionState&);
336 336
337 ClientRect* boundsInViewportSpace(Element*); 337 ClientRect* boundsInViewportSpace(Element*);
338 338
339 unsigned countHitRegions(CanvasRenderingContext2D*); 339 unsigned countHitRegions(CanvasRenderingContext2D*);
340 340
341 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&); 341 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&);
342 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&); 342 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&);
343 343
344 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. 344 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
345
346 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
345 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 347 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
346 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 348 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
347 void forceBlinkGCWithoutV8GC(); 349 void forceBlinkGCWithoutV8GC();
348 350
349 String selectedHTMLForClipboard(); 351 String selectedHTMLForClipboard();
350 String selectedTextForClipboard(); 352 String selectedTextForClipboard();
351 353
352 void setVisualViewportOffset(int x, int y); 354 void setVisualViewportOffset(int x, int y);
353 355
354 // Return true if the given use counter exists for the given document. 356 // Return true if the given use counter exists for the given document.
(...skipping 14 matching lines...) Expand all
369 371
370 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 372 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
371 Member<InternalRuntimeFlags> m_runtimeFlags; 373 Member<InternalRuntimeFlags> m_runtimeFlags;
372 374
373 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 375 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
374 }; 376 };
375 377
376 } // namespace blink 378 } // namespace blink
377 379
378 #endif // Internals_h 380 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698