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