Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: Source/core/testing/Internals.idl

Issue 1308943005: [NetInfo] Add Blink support for connection.change, connection.downlinkMax, and wimax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/netinfo/NetworkInformation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/netinfo/NetworkInformation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698