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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 2903493002: NetInfo network quality extension: Add callbacks and Layout tests (Closed)
Patch Set: haraken comments Created 3 years, 6 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
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 471
472 void setFocused(bool); 472 void setFocused(bool);
473 void setInitialFocus(bool); 473 void setInitialFocus(bool);
474 474
475 bool ignoreLayoutWithPendingStylesheets(Document*); 475 bool ignoreLayoutWithPendingStylesheets(Document*);
476 476
477 void setNetworkConnectionInfoOverride(bool, 477 void setNetworkConnectionInfoOverride(bool,
478 const String&, 478 const String&,
479 double downlink_max_mbps, 479 double downlink_max_mbps,
480 ExceptionState&); 480 ExceptionState&);
481 void setNetworkQualityInfoOverride(const String&,
482 unsigned long transport_rtt_msec,
483 double downlink_throughput_mbps,
484 ExceptionState&);
481 void clearNetworkConnectionInfoOverride(); 485 void clearNetworkConnectionInfoOverride();
482 486
483 unsigned countHitRegions(CanvasRenderingContext*); 487 unsigned countHitRegions(CanvasRenderingContext*);
484 488
485 bool isInCanvasFontCache(Document*, const String&); 489 bool isInCanvasFontCache(Document*, const String&);
486 unsigned canvasFontCacheMaxFonts(); 490 unsigned canvasFontCacheMaxFonts();
487 491
488 void setScrollChain(ScrollState*, 492 void setScrollChain(ScrollState*,
489 const HeapVector<Member<Element>>& elements, 493 const HeapVector<Member<Element>>& elements,
490 ExceptionState&); 494 ExceptionState&);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 const String& marker_type, 568 const String& marker_type,
565 unsigned index, 569 unsigned index,
566 ExceptionState&); 570 ExceptionState&);
567 Member<InternalRuntimeFlags> runtime_flags_; 571 Member<InternalRuntimeFlags> runtime_flags_;
568 Member<Document> document_; 572 Member<Document> document_;
569 }; 573 };
570 574
571 } // namespace blink 575 } // namespace blink
572 576
573 #endif // Internals_h 577 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698