| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not | 523 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not |
| 524 // have a scrollable area. | 524 // have a scrollable area. |
| 525 String getProgrammaticScrollAnimationState(Node*) const; | 525 String getProgrammaticScrollAnimationState(Node*) const; |
| 526 | 526 |
| 527 // Returns the visual rect of a node's LayoutObject. | 527 // Returns the visual rect of a node's LayoutObject. |
| 528 ClientRect* visualRect(Node*); | 528 ClientRect* visualRect(Node*); |
| 529 | 529 |
| 530 // Intentional crash. | 530 // Intentional crash. |
| 531 void crash(); | 531 void crash(); |
| 532 | 532 |
| 533 // Overrides if the device is low-end (low on memory). |
| 534 void setIsLowEndDevice(bool); |
| 535 |
| 533 private: | 536 private: |
| 534 explicit Internals(ExecutionContext*); | 537 explicit Internals(ExecutionContext*); |
| 535 Document* contextDocument() const; | 538 Document* contextDocument() const; |
| 536 LocalFrame* frame() const; | 539 LocalFrame* frame() const; |
| 537 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 540 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 538 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&); | 541 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&); |
| 539 | 542 |
| 540 DocumentMarker* markerAt(Node*, | 543 DocumentMarker* markerAt(Node*, |
| 541 const String& markerType, | 544 const String& markerType, |
| 542 unsigned index, | 545 unsigned index, |
| 543 ExceptionState&); | 546 ExceptionState&); |
| 544 Member<InternalRuntimeFlags> m_runtimeFlags; | 547 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 545 | 548 |
| 546 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 549 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 547 }; | 550 }; |
| 548 | 551 |
| 549 } // namespace blink | 552 } // namespace blink |
| 550 | 553 |
| 551 #endif // Internals_h | 554 #endif // Internals_h |
| OLD | NEW |