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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 328 |
329 void setVisualViewportOffset(long x, long y); | 329 void setVisualViewportOffset(long x, long y); |
330 int visualViewportHeight(); | 330 int visualViewportHeight(); |
331 int visualViewportWidth(); | 331 int visualViewportWidth(); |
332 double visualViewportScrollX(); | 332 double visualViewportScrollX(); |
333 double visualViewportScrollY(); | 333 double visualViewportScrollY(); |
334 | 334 |
335 bool magnifyScaleAroundAnchor(float offset, float x, float y); | 335 bool magnifyScaleAroundAnchor(float offset, float x, float y); |
336 | 336 |
337 boolean isUseCounted(Document document, long useCounterId); | 337 boolean isUseCounted(Document document, long useCounterId); |
| 338 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); |
338 | 339 |
339 iterable<long>; | 340 iterable<long>; |
340 | 341 |
341 [Unscopeable] readonly attribute DOMString unscopeableAttribute; | 342 [Unscopeable] readonly attribute DOMString unscopeableAttribute; |
342 [Unscopeable] DOMString unscopeableMethod(); | 343 [Unscopeable] DOMString unscopeableMethod(); |
343 | 344 |
344 ClientRectList focusRingRects(Element element); | 345 ClientRectList focusRingRects(Element element); |
345 ClientRectList outlineRects(Element element); | 346 ClientRectList outlineRects(Element element); |
346 void setCapsLockState(boolean enabled); | 347 void setCapsLockState(boolean enabled); |
347 | 348 |
348 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 349 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
349 // support overlay scrollbars. | 350 // support overlay scrollbars. |
350 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 351 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
351 | 352 |
352 void forceRestrictIFramePermissions(); | 353 void forceRestrictIFramePermissions(); |
353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
354 | 355 |
355 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 356 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
356 | 357 |
357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
359 | 360 |
360 int getScrollAnimationState(Node node); | 361 int getScrollAnimationState(Node node); |
361 }; | 362 }; |
OLD | NEW |