| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. | 339 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. |
| 340 void setNetworkConnectionInfo(const String&, ExceptionState&); | 340 void setNetworkConnectionInfo(const String&, ExceptionState&); |
| 341 | 341 |
| 342 ClientRect* boundsInViewportSpace(Element*); | 342 ClientRect* boundsInViewportSpace(Element*); |
| 343 | 343 |
| 344 unsigned countHitRegions(CanvasRenderingContext2D*); | 344 unsigned countHitRegions(CanvasRenderingContext2D*); |
| 345 | 345 |
| 346 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); | 346 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); |
| 347 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti
ons&, ExceptionState&); | 347 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti
ons&, ExceptionState&); |
| 348 | 348 |
| 349 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. | 349 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember<
Element>>& elements, ExceptionState&); |
| 350 |
| 351 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. |
| 350 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. | 352 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. |
| 351 // Normal LayoutTests should use gc() instead as it would trigger both
Blink GC and V8 GC. | 353 // Normal LayoutTests should use gc() instead as it would trigger both
Blink GC and V8 GC. |
| 352 void forceBlinkGCWithoutV8GC(); | 354 void forceBlinkGCWithoutV8GC(); |
| 353 | 355 |
| 354 String selectedHTMLForClipboard(); | 356 String selectedHTMLForClipboard(); |
| 355 String selectedTextForClipboard(); | 357 String selectedTextForClipboard(); |
| 356 | 358 |
| 357 void setVisualViewportOffset(int x, int y); | 359 void setVisualViewportOffset(int x, int y); |
| 358 | 360 |
| 359 // Return true if the given use counter exists for the given document. | 361 // Return true if the given use counter exists for the given document. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 376 | 378 |
| 377 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 379 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 378 Member<InternalRuntimeFlags> m_runtimeFlags; | 380 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 379 | 381 |
| 380 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 382 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 381 }; | 383 }; |
| 382 | 384 |
| 383 } // namespace blink | 385 } // namespace blink |
| 384 | 386 |
| 385 #endif // Internals_h | 387 #endif // Internals_h |
| OLD | NEW |