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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
486 int visualViewportWidth(); | 486 int visualViewportWidth(); |
487 // The scroll position of the visual viewport relative to the document origin. | 487 // The scroll position of the visual viewport relative to the document origin. |
488 float visualViewportScrollX(); | 488 float visualViewportScrollX(); |
489 float visualViewportScrollY(); | 489 float visualViewportScrollY(); |
490 | 490 |
491 // Return true if the given use counter exists for the given document. | 491 // Return true if the given use counter exists for the given document. |
492 // |feature| must be one of the values from the UseCounter::Feature enum. | 492 // |feature| must be one of the values from the UseCounter::Feature enum. |
493 bool isUseCounted(Document*, uint32_t feature); | 493 bool isUseCounted(Document*, uint32_t feature); |
494 bool isCSSPropertyUseCounted(Document*, const String&); | 494 bool isCSSPropertyUseCounted(Document*, const String&); |
495 | 495 |
496 ScriptPromise observeUseCounter(ScriptState*, Document*, uint32_t feature); | |
Rick Byers
2017/02/11 15:01:51
Please add a comment describing the semantics. In
nhiroki
2017/02/13 04:35:07
Done.
| |
497 | |
496 String unscopableAttribute(); | 498 String unscopableAttribute(); |
497 String unscopableMethod(); | 499 String unscopableMethod(); |
498 | 500 |
499 ClientRectList* focusRingRects(Element*); | 501 ClientRectList* focusRingRects(Element*); |
500 ClientRectList* outlineRects(Element*); | 502 ClientRectList* outlineRects(Element*); |
501 | 503 |
502 void setCapsLockState(bool enabled); | 504 void setCapsLockState(bool enabled); |
503 | 505 |
504 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 506 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
505 | 507 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
541 ExceptionState&); | 543 ExceptionState&); |
542 Member<InternalRuntimeFlags> m_runtimeFlags; | 544 Member<InternalRuntimeFlags> m_runtimeFlags; |
543 Member<Document> m_document; | 545 Member<Document> m_document; |
544 | 546 |
545 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 547 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
546 }; | 548 }; |
547 | 549 |
548 } // namespace blink | 550 } // namespace blink |
549 | 551 |
550 #endif // Internals_h | 552 #endif // Internals_h |
OLD | NEW |