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

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

Issue 1209183004: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean up static map. Created 5 years, 5 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 ClientRect* boundsInViewportSpace(Element*); 342 ClientRect* boundsInViewportSpace(Element*);
343 343
344 unsigned countHitRegions(CanvasRenderingContext*); 344 unsigned countHitRegions(CanvasRenderingContext*);
345 345
346 bool isInCanvasFontCache(Document*, const String&); 346 bool isInCanvasFontCache(Document*, const String&);
347 unsigned canvasFontCacheMaxFonts(); 347 unsigned canvasFontCacheMaxFonts();
348 348
349 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&); 349 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&);
350 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&); 350 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&);
351 351
352 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. 352 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
353
354 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
353 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 355 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
354 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 356 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
355 void forceBlinkGCWithoutV8GC(); 357 void forceBlinkGCWithoutV8GC();
356 358
357 String selectedHTMLForClipboard(); 359 String selectedHTMLForClipboard();
358 String selectedTextForClipboard(); 360 String selectedTextForClipboard();
359 361
360 void setVisualViewportOffset(int x, int y); 362 void setVisualViewportOffset(int x, int y);
361 363
362 // Return true if the given use counter exists for the given document. 364 // Return true if the given use counter exists for the given document.
(...skipping 16 matching lines...) Expand all
379 381
380 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 382 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
381 Member<InternalRuntimeFlags> m_runtimeFlags; 383 Member<InternalRuntimeFlags> m_runtimeFlags;
382 384
383 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 385 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
384 }; 386 };
385 387
386 } // namespace blink 388 } // namespace blink
387 389
388 #endif // Internals_h 390 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698