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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 307 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
308 | 308 |
309 void setFocused(boolean focused); | 309 void setFocused(boolean focused); |
310 void setInitialFocus(boolean reverse); | 310 void setInitialFocus(boolean reverse); |
311 | 311 |
312 [TypeChecking=Interface] boolean ignoreLayoutWithPendingStylesheets(Document
document); | 312 [TypeChecking=Interface] boolean ignoreLayoutWithPendingStylesheets(Document
document); |
313 | 313 |
314 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 314 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
315 // before calling setNetworkConnectionInfo. | 315 // before calling setNetworkConnectionInfo. |
316 void setNetworkStateNotifierTestOnly(boolean testOnly); | 316 void setNetworkStateNotifierTestOnly(boolean testOnly); |
317 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 317 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl
inkMaxMbps); |
318 | 318 |
319 // This function is for testing HitRegions on Canvas2D. | 319 // This function is for testing HitRegions on Canvas2D. |
320 unsigned long countHitRegions(CanvasRenderingContext2D context); | 320 unsigned long countHitRegions(CanvasRenderingContext2D context); |
321 | 321 |
322 [TypeChecking=Interface] boolean isInCanvasFontCache(Document document, DOMS
tring fontString); | 322 [TypeChecking=Interface] boolean isInCanvasFontCache(Document document, DOMS
tring fontString); |
323 [TypeChecking=Interface] unsigned long canvasFontCacheMaxFonts(); | 323 [TypeChecking=Interface] unsigned long canvasFontCacheMaxFonts(); |
324 | 324 |
325 [TypeChecking=Interface] ClientRect boundsInViewportSpace(Element element); | 325 [TypeChecking=Interface] ClientRect boundsInViewportSpace(Element element); |
326 | 326 |
327 DictionaryTest dictionaryTest(); | 327 DictionaryTest dictionaryTest(); |
(...skipping 16 matching lines...) Expand all Loading... |
344 ClientRectList outlineRects(Element element); | 344 ClientRectList outlineRects(Element element); |
345 void setCapsLockState(boolean enabled); | 345 void setCapsLockState(boolean enabled); |
346 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); | 346 void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled); |
347 | 347 |
348 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 348 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
349 // support overlay scrollbars. | 349 // support overlay scrollbars. |
350 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 350 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
351 | 351 |
352 void forceRestrictIFramePermissions(); | 352 void forceRestrictIFramePermissions(); |
353 }; | 353 }; |
OLD | NEW |