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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 | 483 |
484 void setVisualViewportOffset(int x, int y); | 484 void setVisualViewportOffset(int x, int y); |
485 int visualViewportHeight(); | 485 int visualViewportHeight(); |
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 // |useCounterId| must be one of the values from the UseCounter::Feature enum. | 492 // |useCounterId| must be one of the values from the UseCounter::Feature enum. |
493 bool isUseCounted(Document*, int useCounterId); | 493 bool isUseCounted(Document*, uint32_t useCounterId); |
494 bool isCSSPropertyUseCounted(Document*, const String&); | 494 bool isCSSPropertyUseCounted(Document*, const String&); |
495 | 495 |
496 String unscopableAttribute(); | 496 String unscopableAttribute(); |
497 String unscopableMethod(); | 497 String unscopableMethod(); |
498 | 498 |
499 ClientRectList* focusRingRects(Element*); | 499 ClientRectList* focusRingRects(Element*); |
500 ClientRectList* outlineRects(Element*); | 500 ClientRectList* outlineRects(Element*); |
501 | 501 |
502 void setCapsLockState(bool enabled); | 502 void setCapsLockState(bool enabled); |
503 | 503 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 ExceptionState&); | 541 ExceptionState&); |
542 Member<InternalRuntimeFlags> m_runtimeFlags; | 542 Member<InternalRuntimeFlags> m_runtimeFlags; |
543 Member<Document> m_document; | 543 Member<Document> m_document; |
544 | 544 |
545 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 545 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
546 }; | 546 }; |
547 | 547 |
548 } // namespace blink | 548 } // namespace blink |
549 | 549 |
550 #endif // Internals_h | 550 #endif // Internals_h |
OLD | NEW |