| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 | 336 |
| 337 void setValueForUser(Element*, const String&); | 337 void setValueForUser(Element*, const String&); |
| 338 | 338 |
| 339 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); | 339 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); |
| 340 | 340 |
| 341 void setFocused(bool); | 341 void setFocused(bool); |
| 342 void setInitialFocus(bool); | 342 void setInitialFocus(bool); |
| 343 | 343 |
| 344 bool ignoreLayoutWithPendingStylesheets(Document*); | 344 bool ignoreLayoutWithPendingStylesheets(Document*); |
| 345 | 345 |
| 346 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo or | 346 void setNetworkConnectionInfoOverride(bool, const String&, double downlinkMa
xMbps, ExceptionState&); |
| 347 // setNetworkStateMaxBandwidth. | 347 void clearNetworkConnectionInfoOverride(); |
| 348 void setNetworkStateNotifierTestOnly(bool); | |
| 349 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti
onState&); | |
| 350 | 348 |
| 351 unsigned countHitRegions(CanvasRenderingContext*); | 349 unsigned countHitRegions(CanvasRenderingContext*); |
| 352 | 350 |
| 353 bool isInCanvasFontCache(Document*, const String&); | 351 bool isInCanvasFontCache(Document*, const String&); |
| 354 unsigned canvasFontCacheMaxFonts(); | 352 unsigned canvasFontCacheMaxFonts(); |
| 355 | 353 |
| 356 void setScrollChain(ScrollState*, const HeapVector<Member<Element>>& element
s, ExceptionState&); | 354 void setScrollChain(ScrollState*, const HeapVector<Member<Element>>& element
s, ExceptionState&); |
| 357 | 355 |
| 358 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. | 356 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. |
| 359 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. | 357 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e
xplicitly measure only Blink GC time. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 | 409 |
| 412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 413 Member<InternalRuntimeFlags> m_runtimeFlags; | 411 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 414 | 412 |
| 415 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 416 }; | 414 }; |
| 417 | 415 |
| 418 } // namespace blink | 416 } // namespace blink |
| 419 | 417 |
| 420 #endif // Internals_h | 418 #endif // Internals_h |
| OLD | NEW |