| 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 String unscopeableAttribute(); | 367 String unscopeableAttribute(); |
| 368 String unscopeableMethod(); | 368 String unscopeableMethod(); |
| 369 | 369 |
| 370 ClientRectList* outlineRects(Element*); | 370 ClientRectList* outlineRects(Element*); |
| 371 | 371 |
| 372 void setCapsLockState(bool enabled); | 372 void setCapsLockState(bool enabled); |
| 373 | 373 |
| 374 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 374 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
| 375 | 375 |
| 376 void forceRestrictIFramePermissions(); | 376 void forceRestrictIFramePermissions(); |
| 377 |
| 378 void triggerAutoplayViewportCheck(HTMLMediaElement*); |
| 379 |
| 377 private: | 380 private: |
| 378 explicit Internals(ScriptState*); | 381 explicit Internals(ScriptState*); |
| 379 Document* contextDocument() const; | 382 Document* contextDocument() const; |
| 380 LocalFrame* frame() const; | 383 LocalFrame* frame() const; |
| 381 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 384 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 382 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 385 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
| 383 | 386 |
| 384 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 387 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 385 Member<InternalRuntimeFlags> m_runtimeFlags; | 388 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 386 | 389 |
| 387 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 390 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 388 }; | 391 }; |
| 389 | 392 |
| 390 } // namespace blink | 393 } // namespace blink |
| 391 | 394 |
| 392 #endif // Internals_h | 395 #endif // Internals_h |
| OLD | NEW |