| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 391 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
| 392 | 392 |
| 393 void forceRestrictIFramePermissions(); | 393 void forceRestrictIFramePermissions(); |
| 394 | 394 |
| 395 // Translate given platform monotonic time in seconds to high resolution | 395 // Translate given platform monotonic time in seconds to high resolution |
| 396 // document time in seconds | 396 // document time in seconds |
| 397 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); | 397 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); |
| 398 | 398 |
| 399 void setMediaElementNetworkState(HTMLMediaElement*, int state); | 399 void setMediaElementNetworkState(HTMLMediaElement*, int state); |
| 400 | 400 |
| 401 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 402 void triggerAutoplayViewportCheck(HTMLMediaElement*); |
| 403 |
| 401 private: | 404 private: |
| 402 explicit Internals(ScriptState*); | 405 explicit Internals(ScriptState*); |
| 403 Document* contextDocument() const; | 406 Document* contextDocument() const; |
| 404 LocalFrame* frame() const; | 407 LocalFrame* frame() const; |
| 405 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 408 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 406 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 409 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
| 407 | 410 |
| 408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 409 Member<InternalRuntimeFlags> m_runtimeFlags; | 412 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 410 | 413 |
| 411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 414 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 412 }; | 415 }; |
| 413 | 416 |
| 414 } // namespace blink | 417 } // namespace blink |
| 415 | 418 |
| 416 #endif // Internals_h | 419 #endif // Internals_h |
| OLD | NEW |