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

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

Issue 2317083003: Use type aliases for StaticElementList/StaticNodeList (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/Source/core/dom/StaticNodeList.h ('k') | no next file » | 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class Node; 63 class Node;
64 class Page; 64 class Page;
65 class PrivateScriptTest; 65 class PrivateScriptTest;
66 class Range; 66 class Range;
67 class SerializedScriptValue; 67 class SerializedScriptValue;
68 class ShadowRoot; 68 class ShadowRoot;
69 class TypeConversions; 69 class TypeConversions;
70 class UnionTypesTest; 70 class UnionTypesTest;
71 class ScrollState; 71 class ScrollState;
72 template <typename NodeType> class StaticNodeTypeList; 72 template <typename NodeType> class StaticNodeTypeList;
73 typedef StaticNodeTypeList<Node> StaticNodeList; 73 using StaticNodeList = StaticNodeTypeList<Node>;
74 74
75 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri ptWrappable, public ContextLifecycleObserver, public ValueIterable<int> { 75 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri ptWrappable, public ContextLifecycleObserver, public ValueIterable<int> {
76 DEFINE_WRAPPERTYPEINFO(); 76 DEFINE_WRAPPERTYPEINFO();
77 USING_GARBAGE_COLLECTED_MIXIN(Internals); 77 USING_GARBAGE_COLLECTED_MIXIN(Internals);
78 public: 78 public:
79 static Internals* create(ScriptState*); 79 static Internals* create(ScriptState*);
80 virtual ~Internals(); 80 virtual ~Internals();
81 81
82 static void resetToConsistentState(Page*); 82 static void resetToConsistentState(Page*);
83 83
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 412
413 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 413 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
414 Member<InternalRuntimeFlags> m_runtimeFlags; 414 Member<InternalRuntimeFlags> m_runtimeFlags;
415 415
416 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 416 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
417 }; 417 };
418 418
419 } // namespace blink 419 } // namespace blink
420 420
421 #endif // Internals_h 421 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StaticNodeList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698