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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 | 317 |
318 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); | 318 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); |
319 | 319 |
320 void setFocused(bool); | 320 void setFocused(bool); |
321 | 321 |
322 bool ignoreLayoutWithPendingStylesheets(Document*); | 322 bool ignoreLayoutWithPendingStylesheets(Document*); |
323 | 323 |
324 void setNetworkStateNotifierTestOnly(bool); | 324 void setNetworkStateNotifierTestOnly(bool); |
325 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. | 325 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. |
326 void setNetworkConnectionInfo(const String&, ExceptionState&); | 326 void setNetworkConnectionInfo(const String&, ExceptionState&); |
| 327 |
| 328 PassRefPtrWillBeRawPtr<ClientRect> boundsInRootViewSpace(Element*); |
327 String serializeNavigationMarkup(); | 329 String serializeNavigationMarkup(); |
| 330 Vector<String> getTransitionElementIds(); |
| 331 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects(); |
328 void hideAllTransitionElements(); | 332 void hideAllTransitionElements(); |
329 | 333 |
330 unsigned countHitRegions(CanvasRenderingContext2D*); | 334 unsigned countHitRegions(CanvasRenderingContext2D*); |
331 | 335 |
332 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); | 336 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu
mentFragment>, ExceptionState&); |
333 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options,
ExceptionState&); | 337 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options,
ExceptionState&); |
334 | 338 |
335 Iterator* iterator(ScriptState*, ExceptionState&); | 339 Iterator* iterator(ScriptState*, ExceptionState&); |
336 | 340 |
337 private: | 341 private: |
338 explicit Internals(Document*); | 342 explicit Internals(Document*); |
339 Document* contextDocument() const; | 343 Document* contextDocument() const; |
340 LocalFrame* frame() const; | 344 LocalFrame* frame() const; |
341 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 345 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
342 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 346 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
343 | 347 |
344 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 348 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
345 Member<InternalRuntimeFlags> m_runtimeFlags; | 349 Member<InternalRuntimeFlags> m_runtimeFlags; |
346 Member<InternalProfilers> m_profilers; | 350 Member<InternalProfilers> m_profilers; |
347 }; | 351 }; |
348 | 352 |
349 } // namespace blink | 353 } // namespace blink |
350 | 354 |
351 #endif // Internals_h | 355 #endif // Internals_h |
OLD | NEW |