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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 | 359 |
360 void setVisualViewportOffset(int x, int y); | 360 void setVisualViewportOffset(int x, int y); |
361 | 361 |
362 // Return true if the given use counter exists for the given document. | 362 // Return true if the given use counter exists for the given document. |
363 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. | 363 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. |
364 bool isUseCounted(Document*, int useCounterId); | 364 bool isUseCounted(Document*, int useCounterId); |
365 | 365 |
366 String unscopeableAttribute(); | 366 String unscopeableAttribute(); |
367 String unscopeableMethod(); | 367 String unscopeableMethod(); |
368 | 368 |
369 ClientRectList* focusRingRects(Element*); | 369 ClientRectList* outlineRects(Element*); |
370 | 370 |
371 void setCapsLockState(bool enabled); | 371 void setCapsLockState(bool enabled); |
372 | 372 |
373 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 373 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
374 | 374 |
375 void forceRestrictIFramePermissions(); | 375 void forceRestrictIFramePermissions(); |
376 | 376 |
377 private: | 377 private: |
378 explicit Internals(ScriptState*); | 378 explicit Internals(ScriptState*); |
379 Document* contextDocument() const; | 379 Document* contextDocument() const; |
380 LocalFrame* frame() const; | 380 LocalFrame* frame() const; |
381 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 381 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
382 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 382 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
383 | 383 |
384 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 384 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
385 Member<InternalRuntimeFlags> m_runtimeFlags; | 385 Member<InternalRuntimeFlags> m_runtimeFlags; |
386 | 386 |
387 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 387 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
388 }; | 388 }; |
389 | 389 |
390 } // namespace blink | 390 } // namespace blink |
391 | 391 |
392 #endif // Internals_h | 392 #endif // Internals_h |
OLD | NEW |