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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 | 309 |
310 // This function is for testing HitRegions on Canvas2D. | 310 // This function is for testing HitRegions on Canvas2D. |
311 unsigned long countHitRegions(CanvasRenderingContext2D context); | 311 unsigned long countHitRegions(CanvasRenderingContext2D context); |
312 | 312 |
313 boolean isInCanvasFontCache(Document document, DOMString fontString); | 313 boolean isInCanvasFontCache(Document document, DOMString fontString); |
314 unsigned long canvasFontCacheMaxFonts(); | 314 unsigned long canvasFontCacheMaxFonts(); |
315 | 315 |
316 DictionaryTest dictionaryTest(); | 316 DictionaryTest dictionaryTest(); |
317 UnionTypesTest unionTypesTest(); | 317 UnionTypesTest unionTypesTest(); |
318 CallbackFunctionTest callbackFunctionTest(); | 318 CallbackFunctionTest callbackFunctionTest(); |
| 319 CacheAwareFontDisplayTest cacheAwareFontDisplayTest(DOMString fontUrl); |
319 [RaisesException] void setScrollChain(ScrollState scrollState, sequence<Elem
ent> elements); | 320 [RaisesException] void setScrollChain(ScrollState scrollState, sequence<Elem
ent> elements); |
320 void forceBlinkGCWithoutV8GC(); | 321 void forceBlinkGCWithoutV8GC(); |
321 | 322 |
322 DOMString selectedHTMLForClipboard(); | 323 DOMString selectedHTMLForClipboard(); |
323 DOMString selectedTextForClipboard(); | 324 DOMString selectedTextForClipboard(); |
324 | 325 |
325 void setVisualViewportOffset(long x, long y); | 326 void setVisualViewportOffset(long x, long y); |
326 int visualViewportHeight(); | 327 int visualViewportHeight(); |
327 int visualViewportWidth(); | 328 int visualViewportWidth(); |
328 double visualViewportScrollX(); | 329 double visualViewportScrollX(); |
(...skipping 27 matching lines...) Expand all Loading... |
356 DOMString getScrollAnimationState(Node node); | 357 DOMString getScrollAnimationState(Node node); |
357 | 358 |
358 DOMString getProgrammaticScrollAnimationState(Node node); | 359 DOMString getProgrammaticScrollAnimationState(Node node); |
359 | 360 |
360 ClientRect visualRect(Node node); | 361 ClientRect visualRect(Node node); |
361 | 362 |
362 OriginTrialsTest originTrialsTest(); | 363 OriginTrialsTest originTrialsTest(); |
363 | 364 |
364 void crash(); | 365 void crash(); |
365 }; | 366 }; |
OLD | NEW |