| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef Internals_h | 27 #ifndef Internals_h |
| 28 #define Internals_h | 28 #define Internals_h |
| 29 | 29 |
| 30 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 30 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
| 31 #include "bindings/core/v8/ScriptPromise.h" | 31 #include "bindings/core/v8/ScriptPromise.h" |
| 32 #include "bindings/core/v8/ScriptValue.h" | 32 #include "bindings/core/v8/ScriptValue.h" |
| 33 #include "core/css/CSSComputedStyleDeclaration.h" | 33 #include "core/css/CSSComputedStyleDeclaration.h" |
| 34 #include "core/dom/ContextLifecycleObserver.h" | 34 #include "core/dom/ContextLifecycleObserver.h" |
| 35 #include "core/dom/SomeDictionaryUser.h" |
| 35 #include "core/page/scrolling/ScrollingCoordinator.h" | 36 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 36 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 37 #include "wtf/ArrayBuffer.h" | 38 #include "wtf/ArrayBuffer.h" |
| 38 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
| 39 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
| 40 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 41 | 42 |
| 42 namespace blink { | 43 namespace blink { |
| 43 | 44 |
| 44 class CanvasRenderingContext2D; | 45 class CanvasRenderingContext2D; |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 312 |
| 312 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&); | 313 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&); |
| 313 | 314 |
| 314 void setNetworkStateNotifierTestOnly(bool); | 315 void setNetworkStateNotifierTestOnly(bool); |
| 315 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. | 316 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. |
| 316 void setNetworkConnectionInfo(const String&, ExceptionState&); | 317 void setNetworkConnectionInfo(const String&, ExceptionState&); |
| 317 String serializeNavigationMarkup(Document*); | 318 String serializeNavigationMarkup(Document*); |
| 318 | 319 |
| 319 unsigned countHitRegions(CanvasRenderingContext2D*); | 320 unsigned countHitRegions(CanvasRenderingContext2D*); |
| 320 | 321 |
| 322 PassRefPtrWillBeRawPtr<SomeDictionaryUser> someDictionaryUser(); |
| 321 private: | 323 private: |
| 322 explicit Internals(Document*); | 324 explicit Internals(Document*); |
| 323 Document* contextDocument() const; | 325 Document* contextDocument() const; |
| 324 LocalFrame* frame() const; | 326 LocalFrame* frame() const; |
| 325 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 327 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 326 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 328 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
| 327 | 329 |
| 328 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 330 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 329 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 331 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
| 330 RefPtrWillBeMember<InternalProfilers> m_profilers; | 332 RefPtrWillBeMember<InternalProfilers> m_profilers; |
| 333 |
| 334 RefPtrWillBeMember<SomeDictionaryUser> m_someDictionaryUser; |
| 331 }; | 335 }; |
| 332 | 336 |
| 333 } // namespace blink | 337 } // namespace blink |
| 334 | 338 |
| 335 #endif | 339 #endif |
| OLD | NEW |