Chromium Code Reviews| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 366 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. | 366 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. |
| 367 bool isUseCounted(Document*, int useCounterId); | 367 bool isUseCounted(Document*, int useCounterId); |
| 368 | 368 |
| 369 String unscopeableAttribute(); | 369 String unscopeableAttribute(); |
| 370 String unscopeableMethod(); | 370 String unscopeableMethod(); |
| 371 | 371 |
| 372 ClientRectList* outlineRects(Element*); | 372 ClientRectList* outlineRects(Element*); |
| 373 | 373 |
| 374 void setCapsLockState(bool enabled); | 374 void setCapsLockState(bool enabled); |
| 375 | 375 |
| 376 void setSelectionPaintingWithoutSelectionGaps(bool enabled); | |
|
chrishtr
2015/09/08 22:59:02
setSelectionPaintingWithoutSelectionGapsEnabled
wkorman
2015/09/08 23:08:38
Done.
| |
| 377 | |
| 376 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 378 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
| 377 | 379 |
| 378 void forceRestrictIFramePermissions(); | 380 void forceRestrictIFramePermissions(); |
| 379 private: | 381 private: |
| 380 explicit Internals(ScriptState*); | 382 explicit Internals(ScriptState*); |
| 381 Document* contextDocument() const; | 383 Document* contextDocument() const; |
| 382 LocalFrame* frame() const; | 384 LocalFrame* frame() const; |
| 383 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 385 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 384 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; | 386 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; |
| 385 | 387 |
| 386 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); | 388 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); |
| 387 Member<InternalRuntimeFlags> m_runtimeFlags; | 389 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 388 | 390 |
| 389 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 391 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 390 }; | 392 }; |
| 391 | 393 |
| 392 } // namespace blink | 394 } // namespace blink |
| 393 | 395 |
| 394 #endif // Internals_h | 396 #endif // Internals_h |
| OLD | NEW |