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

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: Change map value to WeakMember, remove Document hack. 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
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 ClientRect* boundsInViewportSpace(Element*); 344 ClientRect* boundsInViewportSpace(Element*);
345 345
346 unsigned countHitRegions(CanvasRenderingContext*); 346 unsigned countHitRegions(CanvasRenderingContext*);
347 347
348 bool isInCanvasFontCache(Document*, const String&); 348 bool isInCanvasFontCache(Document*, const String&);
349 unsigned canvasFontCacheMaxFonts(); 349 unsigned canvasFontCacheMaxFonts();
350 350
351 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&); 351 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&);
352 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&); 352 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&);
353 353
354 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. 354 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember< Element>>& elements, ExceptionState&);
355
356 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
355 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 357 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
356 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 358 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
357 void forceBlinkGCWithoutV8GC(); 359 void forceBlinkGCWithoutV8GC();
358 360
359 String selectedHTMLForClipboard(); 361 String selectedHTMLForClipboard();
360 String selectedTextForClipboard(); 362 String selectedTextForClipboard();
361 363
362 void setVisualViewportOffset(int x, int y); 364 void setVisualViewportOffset(int x, int y);
363 365
364 // Return true if the given use counter exists for the given document. 366 // Return true if the given use counter exists for the given document.
(...skipping 20 matching lines...) Expand all
385 387
386 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 388 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
387 Member<InternalRuntimeFlags> m_runtimeFlags; 389 Member<InternalRuntimeFlags> m_runtimeFlags;
388 390
389 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 391 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
390 }; 392 };
391 393
392 } // namespace blink 394 } // namespace blink
393 395
394 #endif // Internals_h 396 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698