| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 void triggerAutoplayViewportCheck(HTMLMediaElement*); | 393 void triggerAutoplayViewportCheck(HTMLMediaElement*); |
| 394 | 394 |
| 395 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo
mpositorCoordinater::RunState), | 395 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo
mpositorCoordinater::RunState), |
| 396 // or -1 if the node does not have a scrollable area. | 396 // or -1 if the node does not have a scrollable area. |
| 397 String getScrollAnimationState(Node*) const; | 397 String getScrollAnimationState(Node*) const; |
| 398 | 398 |
| 399 // Returns the run state of the node's programmatic scroll animator (see Scr
ollAnimatorCompositorCoordinater::RunState), | 399 // Returns the run state of the node's programmatic scroll animator (see Scr
ollAnimatorCompositorCoordinater::RunState), |
| 400 // or -1 if the node does not have a scrollable area. | 400 // or -1 if the node does not have a scrollable area. |
| 401 String getProgrammaticScrollAnimationState(Node*) const; | 401 String getProgrammaticScrollAnimationState(Node*) const; |
| 402 | 402 |
| 403 // Returns the visual rect of a node's LayoutObject. |
| 404 ClientRect* visualRect(Node*); |
| 405 |
| 403 private: | 406 private: |
| 404 explicit Internals(ScriptState*); | 407 explicit Internals(ScriptState*); |
| 405 Document* contextDocument() const; | 408 Document* contextDocument() const; |
| 406 LocalFrame* frame() const; | 409 LocalFrame* frame() const; |
| 407 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 410 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 408 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 411 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
| 409 | 412 |
| 410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 413 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 411 Member<InternalRuntimeFlags> m_runtimeFlags; | 414 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 412 | 415 |
| 413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 416 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 414 }; | 417 }; |
| 415 | 418 |
| 416 } // namespace blink | 419 } // namespace blink |
| 417 | 420 |
| 418 #endif // Internals_h | 421 #endif // Internals_h |
| OLD | NEW |