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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects(); | 330 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects(); |
331 void hideAllTransitionElements(); | 331 void hideAllTransitionElements(); |
332 void showAllTransitionElements(); | 332 void showAllTransitionElements(); |
333 void setExitTransitionStylesheetsEnabled(bool); | 333 void setExitTransitionStylesheetsEnabled(bool); |
334 | 334 |
335 unsigned countHitRegions(CanvasRenderingContext2D*); | 335 unsigned countHitRegions(CanvasRenderingContext2D*); |
336 | 336 |
337 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); | 337 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); |
338 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti
ons&, ExceptionState&); | 338 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti
ons&, ExceptionState&); |
339 | 339 |
340 // Scheudle a forced Blink GC run (Oilpan) at the end of event loop. | 340 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember<
Element>>& elements, ExceptionState&); |
| 341 |
| 342 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. |
341 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. | 343 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. |
342 // Normal LayoutTests should use gc() instead as it would trigger both
Blink GC and V8 GC. | 344 // Normal LayoutTests should use gc() instead as it would trigger both
Blink GC and V8 GC. |
343 void forceBlinkGCWithoutV8GC(); | 345 void forceBlinkGCWithoutV8GC(); |
344 | 346 |
345 String selectedHTMLForClipboard(); | 347 String selectedHTMLForClipboard(); |
346 String selectedTextForClipboard(); | 348 String selectedTextForClipboard(); |
347 | 349 |
348 private: | 350 private: |
349 explicit Internals(Document*); | 351 explicit Internals(Document*); |
350 Document* contextDocument() const; | 352 Document* contextDocument() const; |
351 LocalFrame* frame() const; | 353 LocalFrame* frame() const; |
352 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 354 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
353 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 355 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
354 | 356 |
355 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 357 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
356 Member<InternalRuntimeFlags> m_runtimeFlags; | 358 Member<InternalRuntimeFlags> m_runtimeFlags; |
357 | 359 |
358 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 360 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
359 }; | 361 }; |
360 | 362 |
361 } // namespace blink | 363 } // namespace blink |
362 | 364 |
363 #endif // Internals_h | 365 #endif // Internals_h |
OLD | NEW |