| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 403 // Returns the visual rect of a node's LayoutObject. |
| 404 ClientRect* visualRect(Node*); | 404 ClientRect* visualRect(Node*); |
| 405 | 405 |
| 406 // Intentional crash. |
| 407 void crash(); |
| 408 |
| 406 private: | 409 private: |
| 407 explicit Internals(ScriptState*); | 410 explicit Internals(ScriptState*); |
| 408 Document* contextDocument() const; | 411 Document* contextDocument() const; |
| 409 LocalFrame* frame() const; | 412 LocalFrame* frame() const; |
| 410 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 413 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 411 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 414 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
| 412 | 415 |
| 413 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 414 Member<InternalRuntimeFlags> m_runtimeFlags; | 417 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 415 | 418 |
| 416 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 419 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 417 }; | 420 }; |
| 418 | 421 |
| 419 } // namespace blink | 422 } // namespace blink |
| 420 | 423 |
| 421 #endif // Internals_h | 424 #endif // Internals_h |
| OLD | NEW |