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