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 | |
358 private: | 355 private: |
359 explicit Internals(Document*); | 356 explicit Internals(Document*); |
360 Document* contextDocument() const; | 357 Document* contextDocument() const; |
361 LocalFrame* frame() const; | 358 LocalFrame* frame() const; |
362 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 359 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
363 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 360 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
364 | 361 |
365 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 362 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
366 Member<InternalRuntimeFlags> m_runtimeFlags; | 363 Member<InternalRuntimeFlags> m_runtimeFlags; |
367 | 364 |
368 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 365 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
369 }; | 366 }; |
370 | 367 |
371 } // namespace blink | 368 } // namespace blink |
372 | 369 |
373 #endif // Internals_h | 370 #endif // Internals_h |
OLD | NEW |