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 void setVisualViewportOffset(long x, long y); | 328 void setVisualViewportOffset(long x, long y); |
329 int visualViewportHeight(); | 329 int visualViewportHeight(); |
330 int visualViewportWidth(); | 330 int visualViewportWidth(); |
331 double visualViewportScrollX(); | 331 double visualViewportScrollX(); |
332 double visualViewportScrollY(); | 332 double visualViewportScrollY(); |
333 | 333 |
334 bool magnifyScaleAroundAnchor(float offset, float x, float y); | 334 bool magnifyScaleAroundAnchor(float offset, float x, float y); |
335 | 335 |
336 boolean isUseCounted(Document document, unsigned long feature); | 336 boolean isUseCounted(Document document, unsigned long feature); |
337 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); | 337 boolean isCSSPropertyUseCounted(Document document, DOMString propertyName); |
| 338 boolean isAnimatedCSSPropertyUseCounted(Document document, DOMString propert
yName); |
338 | 339 |
339 // Returns a promise that is resolved when |feature| is counted on | 340 // Returns a promise that is resolved when |feature| is counted on |
340 // |document|'s UseCounter. When |feature| was already counted, it's | 341 // |document|'s UseCounter. When |feature| was already counted, it's |
341 // immediately resolved. | 342 // immediately resolved. |
342 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un
signed long feature); | 343 [CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, un
signed long feature); |
343 | 344 |
344 readonly attribute unsigned long length; | 345 readonly attribute unsigned long length; |
345 getter long (unsigned long index); | 346 getter long (unsigned long index); |
346 iterable<long>; | 347 iterable<long>; |
347 | 348 |
(...skipping 17 matching lines...) Expand all Loading... |
365 DOMString getProgrammaticScrollAnimationState(Node node); | 366 DOMString getProgrammaticScrollAnimationState(Node node); |
366 | 367 |
367 ClientRect visualRect(Node node); | 368 ClientRect visualRect(Node node); |
368 | 369 |
369 OriginTrialsTest originTrialsTest(); | 370 OriginTrialsTest originTrialsTest(); |
370 | 371 |
371 void crash(); | 372 void crash(); |
372 | 373 |
373 void setIsLowEndDevice(boolean isLowEndDevice); | 374 void setIsLowEndDevice(boolean isLowEndDevice); |
374 }; | 375 }; |
OLD | NEW |