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 313 matching lines...) Loading... |
324 int visualViewportHeight(); | 324 int visualViewportHeight(); |
325 int visualViewportWidth(); | 325 int visualViewportWidth(); |
326 double visualViewportScrollX(); | 326 double visualViewportScrollX(); |
327 double visualViewportScrollY(); | 327 double visualViewportScrollY(); |
328 | 328 |
329 bool magnifyScaleAroundAnchor(float offset, float x, float y); | 329 bool magnifyScaleAroundAnchor(float offset, float x, float y); |
330 | 330 |
331 boolean isUseCounted(Document document, unsigned long feature); | 331 boolean isUseCounted(Document document, unsigned long feature); |
332 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); | 332 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); |
333 | 333 |
| 334 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un
signed long feature); |
| 335 |
334 iterable<long>; | 336 iterable<long>; |
335 | 337 |
336 [Unscopable] readonly attribute DOMString unscopableAttribute; | 338 [Unscopable] readonly attribute DOMString unscopableAttribute; |
337 [Unscopable] DOMString unscopableMethod(); | 339 [Unscopable] DOMString unscopableMethod(); |
338 | 340 |
339 ClientRectList focusRingRects(Element element); | 341 ClientRectList focusRingRects(Element element); |
340 ClientRectList outlineRects(Element element); | 342 ClientRectList outlineRects(Element element); |
341 void setCapsLockState(boolean enabled); | 343 void setCapsLockState(boolean enabled); |
342 | 344 |
343 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 345 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
344 // support overlay scrollbars. | 346 // support overlay scrollbars. |
345 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 347 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
346 | 348 |
347 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 349 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
348 | 350 |
349 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 351 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
350 | 352 |
351 DOMString getScrollAnimationState(Node node); | 353 DOMString getScrollAnimationState(Node node); |
352 | 354 |
353 DOMString getProgrammaticScrollAnimationState(Node node); | 355 DOMString getProgrammaticScrollAnimationState(Node node); |
354 | 356 |
355 ClientRect visualRect(Node node); | 357 ClientRect visualRect(Node node); |
356 | 358 |
357 OriginTrialsTest originTrialsTest(); | 359 OriginTrialsTest originTrialsTest(); |
358 | 360 |
359 void crash(); | 361 void crash(); |
360 | 362 |
361 void setIsLowEndDevice(boolean isLowEndDevice); | 363 void setIsLowEndDevice(boolean isLowEndDevice); |
362 }; | 364 }; |
OLD | NEW |