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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 337 |
338 void setValueForUser(Element*, const String&); | 338 void setValueForUser(Element*, const String&); |
339 | 339 |
340 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); | 340 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); |
341 | 341 |
342 void setFocused(bool); | 342 void setFocused(bool); |
343 void setInitialFocus(bool); | 343 void setInitialFocus(bool); |
344 | 344 |
345 bool ignoreLayoutWithPendingStylesheets(Document*); | 345 bool ignoreLayoutWithPendingStylesheets(Document*); |
346 | 346 |
| 347 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo or |
| 348 // setNetworkStateMaxBandwidth. |
347 void setNetworkStateNotifierTestOnly(bool); | 349 void setNetworkStateNotifierTestOnly(bool); |
348 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. | 350 void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, Excepti
onState&); |
349 void setNetworkConnectionInfo(const String&, ExceptionState&); | |
350 | 351 |
351 ClientRect* boundsInViewportSpace(Element*); | 352 ClientRect* boundsInViewportSpace(Element*); |
352 | 353 |
353 unsigned countHitRegions(CanvasRenderingContext*); | 354 unsigned countHitRegions(CanvasRenderingContext*); |
354 | 355 |
355 bool isInCanvasFontCache(Document*, const String&); | 356 bool isInCanvasFontCache(Document*, const String&); |
356 unsigned canvasFontCacheMaxFonts(); | 357 unsigned canvasFontCacheMaxFonts(); |
357 | 358 |
358 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember<
Element>>& elements, ExceptionState&); | 359 void setScrollChain(ScrollState*, const WillBeHeapVector<RefPtrWillBeMember<
Element>>& elements, ExceptionState&); |
359 | 360 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 393 |
393 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 394 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
394 Member<InternalRuntimeFlags> m_runtimeFlags; | 395 Member<InternalRuntimeFlags> m_runtimeFlags; |
395 | 396 |
396 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 397 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
397 }; | 398 }; |
398 | 399 |
399 } // namespace blink | 400 } // namespace blink |
400 | 401 |
401 #endif // Internals_h | 402 #endif // Internals_h |
OLD | NEW |