Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Side by Side Diff: Source/core/testing/Internals.h

Issue 386963003: [WIP][NotForLand] IDL dictionary support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sequence and array support Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/SomeDictionaryUser.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/SomeDictionaryUser.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698