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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 356 | 356 |
| 357 // Return true if the given use counter exists for the given document. | 357 // Return true if the given use counter exists for the given document. |
| 358 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. | 358 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. |
| 359 bool isUseCounted(Document*, int useCounterId); | 359 bool isUseCounted(Document*, int useCounterId); |
| 360 | 360 |
| 361 String unscopeableAttribute(); | 361 String unscopeableAttribute(); |
| 362 String unscopeableMethod(); | 362 String unscopeableMethod(); |
| 363 | 363 |
| 364 ClientRectList* focusRingRects(Element*); | 364 ClientRectList* focusRingRects(Element*); |
| 365 | 365 |
| 366 void setCurrentCapsLockState(bool enabled); | |
|
chrishtr
2015/06/18 23:21:30
setCapsLockState?
wkorman
2015/06/18 23:32:30
Done.
| |
| 367 | |
| 366 private: | 368 private: |
| 367 explicit Internals(Document*); | 369 explicit Internals(Document*); |
| 368 Document* contextDocument() const; | 370 Document* contextDocument() const; |
| 369 LocalFrame* frame() const; | 371 LocalFrame* frame() const; |
| 370 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 372 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 371 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; | 373 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; |
| 372 | 374 |
| 373 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); | 375 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); |
| 374 Member<InternalRuntimeFlags> m_runtimeFlags; | 376 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 375 | 377 |
| 376 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 378 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 377 }; | 379 }; |
| 378 | 380 |
| 379 } // namespace blink | 381 } // namespace blink |
| 380 | 382 |
| 381 #endif // Internals_h | 383 #endif // Internals_h |
| OLD | NEW |