Chromium Code Reviews| 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 | 307 |
| 308 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); | 308 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); |
| 309 | 309 |
| 310 void setFocused(boolean focused); | 310 void setFocused(boolean focused); |
| 311 void setInitialFocus(boolean reverse); | 311 void setInitialFocus(boolean reverse); |
| 312 | 312 |
| 313 boolean ignoreLayoutWithPendingStylesheets(Document document); | 313 boolean ignoreLayoutWithPendingStylesheets(Document document); |
| 314 | 314 |
| 315 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end. | 315 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end. |
| 316 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps); | 316 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps); |
| 317 [RaisesException] void setNetworkQualityInfoOverride(DOMString effective_typ e, unsigned long transport_rtt_msec, double downlink_throughput_mbps); | |
|
dcheng
2017/05/27 08:47:47
Out of curiosity, is it possible to use enums in t
tbansal1
2017/05/28 04:32:16
I did try, but it gave a compilation error. That
haraken
2017/05/29 01:08:14
Do you have the compile error? We should use an en
tbansal1
2017/05/29 04:45:22
When I build webkit tests, I get this:
gen/blink/b
tbansal1
2017/05/29 04:53:29
Is it possible to generate the binding only for te
bashi
2017/05/29 10:43:32
Could you elaborate how you defined EffectiveConne
tbansal1
2017/05/31 04:16:02
I replied elsewhere in the CL, but this is where E
tbansal1
2017/06/02 01:24:31
Done. Thanks for the help!!
| |
| 317 void clearNetworkConnectionInfoOverride(); | 318 void clearNetworkConnectionInfoOverride(); |
| 318 | 319 |
| 319 // This function is for testing HitRegions on Canvas2D. | 320 // This function is for testing HitRegions on Canvas2D. |
| 320 unsigned long countHitRegions(CanvasRenderingContext2D context); | 321 unsigned long countHitRegions(CanvasRenderingContext2D context); |
| 321 | 322 |
| 322 boolean isInCanvasFontCache(Document document, DOMString fontString); | 323 boolean isInCanvasFontCache(Document document, DOMString fontString); |
| 323 unsigned long canvasFontCacheMaxFonts(); | 324 unsigned long canvasFontCacheMaxFonts(); |
| 324 | 325 |
| 325 DictionaryTest dictionaryTest(); | 326 DictionaryTest dictionaryTest(); |
| 326 RecordTest recordTest(); | 327 RecordTest recordTest(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 372 DOMString getProgrammaticScrollAnimationState(Node node); | 373 DOMString getProgrammaticScrollAnimationState(Node node); |
| 373 | 374 |
| 374 ClientRect visualRect(Node node); | 375 ClientRect visualRect(Node node); |
| 375 | 376 |
| 376 OriginTrialsTest originTrialsTest(); | 377 OriginTrialsTest originTrialsTest(); |
| 377 | 378 |
| 378 void crash(); | 379 void crash(); |
| 379 | 380 |
| 380 void setIsLowEndDevice(boolean isLowEndDevice); | 381 void setIsLowEndDevice(boolean isLowEndDevice); |
| 381 }; | 382 }; |
| OLD | NEW |