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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 void setVisualViewportOffset(int x, int y); | 367 void setVisualViewportOffset(int x, int y); |
368 int visualViewportHeight(); | 368 int visualViewportHeight(); |
369 int visualViewportWidth(); | 369 int visualViewportWidth(); |
370 // The scroll position of the visual viewport relative to the document origi
n. | 370 // The scroll position of the visual viewport relative to the document origi
n. |
371 double visualViewportScrollX(); | 371 double visualViewportScrollX(); |
372 double visualViewportScrollY(); | 372 double visualViewportScrollY(); |
373 | 373 |
374 // Return true if the given use counter exists for the given document. | 374 // Return true if the given use counter exists for the given document. |
375 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. | 375 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. |
376 bool isUseCounted(Document*, int useCounterId); | 376 bool isUseCounted(Document*, int useCounterId); |
| 377 // |useCounterId| must be one of the values from the UseCounter::CSSProperty
ID enum. |
| 378 bool isCSSPropertyUseCounted(Document*, int useCounterId); |
377 | 379 |
378 String unscopeableAttribute(); | 380 String unscopeableAttribute(); |
379 String unscopeableMethod(); | 381 String unscopeableMethod(); |
380 | 382 |
381 ClientRectList* focusRingRects(Element*); | 383 ClientRectList* focusRingRects(Element*); |
382 ClientRectList* outlineRects(Element*); | 384 ClientRectList* outlineRects(Element*); |
383 | 385 |
384 void setCapsLockState(bool enabled); | 386 void setCapsLockState(bool enabled); |
385 | 387 |
386 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 388 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
(...skipping 22 matching lines...) Expand all Loading... |
409 | 411 |
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
411 Member<InternalRuntimeFlags> m_runtimeFlags; | 413 Member<InternalRuntimeFlags> m_runtimeFlags; |
412 | 414 |
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 415 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
414 }; | 416 }; |
415 | 417 |
416 } // namespace blink | 418 } // namespace blink |
417 | 419 |
418 #endif // Internals_h | 420 #endif // Internals_h |
OLD | NEW |