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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 // gc() instead as it would trigger both Blink GC and V8 GC. | 480 // gc() instead as it would trigger both Blink GC and V8 GC. |
481 void forceBlinkGCWithoutV8GC(); | 481 void forceBlinkGCWithoutV8GC(); |
482 | 482 |
483 String selectedHTMLForClipboard(); | 483 String selectedHTMLForClipboard(); |
484 String selectedTextForClipboard(); | 484 String selectedTextForClipboard(); |
485 | 485 |
486 void setVisualViewportOffset(int x, int y); | 486 void setVisualViewportOffset(int x, int y); |
487 int visualViewportHeight(); | 487 int visualViewportHeight(); |
488 int visualViewportWidth(); | 488 int visualViewportWidth(); |
489 // The scroll position of the visual viewport relative to the document origin. | 489 // The scroll position of the visual viewport relative to the document origin. |
490 double visualViewportScrollX(); | 490 float visualViewportScrollX(); |
491 double visualViewportScrollY(); | 491 float visualViewportScrollY(); |
492 | 492 |
493 // Return true if the given use counter exists for the given document. | 493 // Return true if the given use counter exists for the given document. |
494 // |useCounterId| must be one of the values from the UseCounter::Feature enum. | 494 // |useCounterId| must be one of the values from the UseCounter::Feature enum. |
495 bool isUseCounted(Document*, int useCounterId); | 495 bool isUseCounted(Document*, int useCounterId); |
496 bool isCSSPropertyUseCounted(Document*, const String&); | 496 bool isCSSPropertyUseCounted(Document*, const String&); |
497 | 497 |
498 String unscopableAttribute(); | 498 String unscopableAttribute(); |
499 String unscopableMethod(); | 499 String unscopableMethod(); |
500 | 500 |
501 ClientRectList* focusRingRects(Element*); | 501 ClientRectList* focusRingRects(Element*); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 unsigned index, | 542 unsigned index, |
543 ExceptionState&); | 543 ExceptionState&); |
544 Member<InternalRuntimeFlags> m_runtimeFlags; | 544 Member<InternalRuntimeFlags> m_runtimeFlags; |
545 | 545 |
546 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 546 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
547 }; | 547 }; |
548 | 548 |
549 } // namespace blink | 549 } // namespace blink |
550 | 550 |
551 #endif // Internals_h | 551 #endif // Internals_h |
OLD | NEW |