| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |