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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 325 |
326 DictionaryTest dictionaryTest(); | 326 DictionaryTest dictionaryTest(); |
327 UnionTypesTest unionTypesTest(); | 327 UnionTypesTest unionTypesTest(); |
328 [RaisesException, TypeChecking=Interface] void setScrollChain(ScrollState sc
rollState, Element[] elements); | 328 [RaisesException, TypeChecking=Interface] void setScrollChain(ScrollState sc
rollState, Element[] elements); |
329 void forceBlinkGCWithoutV8GC(); | 329 void forceBlinkGCWithoutV8GC(); |
330 | 330 |
331 DOMString selectedHTMLForClipboard(); | 331 DOMString selectedHTMLForClipboard(); |
332 DOMString selectedTextForClipboard(); | 332 DOMString selectedTextForClipboard(); |
333 | 333 |
334 void setVisualViewportOffset(long x, long y); | 334 void setVisualViewportOffset(long x, long y); |
| 335 int visualViewportHeight(); |
| 336 int visualViewportWidth(); |
| 337 double visualViewportScrollX(); |
| 338 double visualViewportScrollY(); |
335 | 339 |
336 bool magnifyScaleAroundAnchor(float offset, float x, float y); | 340 bool magnifyScaleAroundAnchor(float offset, float x, float y); |
337 | 341 |
338 boolean isUseCounted(Document document, long useCounterId); | 342 boolean isUseCounted(Document document, long useCounterId); |
339 | 343 |
340 iterable<long>; | 344 iterable<long>; |
341 | 345 |
342 [Unscopeable] readonly attribute DOMString unscopeableAttribute; | 346 [Unscopeable] readonly attribute DOMString unscopeableAttribute; |
343 [Unscopeable] DOMString unscopeableMethod(); | 347 [Unscopeable] DOMString unscopeableMethod(); |
344 | 348 |
345 ClientRectList focusRingRects(Element element); | 349 ClientRectList focusRingRects(Element element); |
346 ClientRectList outlineRects(Element element); | 350 ClientRectList outlineRects(Element element); |
347 void setCapsLockState(boolean enabled); | 351 void setCapsLockState(boolean enabled); |
348 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); | 352 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); |
349 | 353 |
350 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 354 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
351 // support overlay scrollbars. | 355 // support overlay scrollbars. |
352 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
353 | 357 |
354 void forceRestrictIFramePermissions(); | 358 void forceRestrictIFramePermissions(); |
355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
356 }; | 360 }; |
OLD | NEW |