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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 | 388 |
389 void setSelectionPaintingWithoutSelectionGapsEnabled(bool); | 389 void setSelectionPaintingWithoutSelectionGapsEnabled(bool); |
390 | 390 |
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 |
| 399 void setMediaElementNetworkState(HTMLMediaElement*, double state); |
| 400 |
398 private: | 401 private: |
399 explicit Internals(ScriptState*); | 402 explicit Internals(ScriptState*); |
400 Document* contextDocument() const; | 403 Document* contextDocument() const; |
401 LocalFrame* frame() const; | 404 LocalFrame* frame() const; |
402 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 405 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
403 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 406 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
404 | 407 |
405 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
406 Member<InternalRuntimeFlags> m_runtimeFlags; | 409 Member<InternalRuntimeFlags> m_runtimeFlags; |
407 | 410 |
408 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
409 }; | 412 }; |
410 | 413 |
411 } // namespace blink | 414 } // namespace blink |
412 | 415 |
413 #endif // Internals_h | 416 #endif // Internals_h |
OLD | NEW |