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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
272 [TypeChecking=Interface] boolean ignoreLayoutWithPendingStylesheets(Document document); | 272 [TypeChecking=Interface] boolean ignoreLayoutWithPendingStylesheets(Document document); |
273 | 273 |
274 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) | 274 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) |
275 // before calling setNetworkConnectionInfo. | 275 // before calling setNetworkConnectionInfo. |
276 void setNetworkStateNotifierTestOnly(boolean testOnly); | 276 void setNetworkStateNotifierTestOnly(boolean testOnly); |
277 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 277 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
278 | 278 |
279 // This function is for testing HitRegions on Canvas2D. | 279 // This function is for testing HitRegions on Canvas2D. |
280 unsigned long countHitRegions(CanvasRenderingContext2D context); | 280 unsigned long countHitRegions(CanvasRenderingContext2D context); |
281 | 281 |
282 [TypeChecking=Interface] ClientRect boundsInRootViewSpace(Element element); | |
esprehn
2014/10/21 20:50:48
What's with the TypeChecking attr? I don't think y
Zhen Wang
2014/10/21 21:36:48
ditto
sof
2014/10/22 05:22:46
Please keep using [TypeChecking=Inteface].
bounds
Zhen Wang
2014/10/22 13:55:55
I see. Thanks for pointing this out.
| |
282 DOMString serializeNavigationMarkup(); | 283 DOMString serializeNavigationMarkup(); |
284 DOMString[] getTransitionElementNames(); | |
285 [RaisesException, TypeChecking=Interface] ClientRectList getTransitionElemen tRects(); | |
esprehn
2014/10/21 20:50:48
Remove RaisesException, it doesn't use that argume
Zhen Wang
2014/10/21 21:36:48
I see other places using ClientRectList have Raise
| |
283 void hideAllTransitionElements(); | 286 void hideAllTransitionElements(); |
284 | 287 |
285 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, DocumentFragment fragment); | 288 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, DocumentFragment fragment); |
286 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, Dictionary options); | 289 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, Dictionary options); |
287 | 290 |
288 DictionaryTest dictionaryTest(); | 291 DictionaryTest dictionaryTest(); |
289 }; | 292 }; |
OLD | NEW |