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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 345 |
346 String selectedHTMLForClipboard(); | 346 String selectedHTMLForClipboard(); |
347 String selectedTextForClipboard(); | 347 String selectedTextForClipboard(); |
348 | 348 |
349 void setVisualViewportOffset(int x, int y); | 349 void setVisualViewportOffset(int x, int y); |
350 | 350 |
351 // Return true if the given use counter exists for the given document. | 351 // Return true if the given use counter exists for the given document. |
352 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. | 352 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. |
353 bool isUseCounted(Document*, int useCounterId); | 353 bool isUseCounted(Document*, int useCounterId); |
354 | 354 |
| 355 String unscopeableAttribute(); |
| 356 String unscopeableMethod(); |
| 357 |
355 private: | 358 private: |
356 explicit Internals(Document*); | 359 explicit Internals(Document*); |
357 Document* contextDocument() const; | 360 Document* contextDocument() const; |
358 LocalFrame* frame() const; | 361 LocalFrame* frame() const; |
359 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 362 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
360 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 363 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
361 | 364 |
362 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 365 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
363 Member<InternalRuntimeFlags> m_runtimeFlags; | 366 Member<InternalRuntimeFlags> m_runtimeFlags; |
364 | 367 |
365 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 368 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
366 }; | 369 }; |
367 | 370 |
368 } // namespace blink | 371 } // namespace blink |
369 | 372 |
370 #endif // Internals_h | 373 #endif // Internals_h |
OLD | NEW |