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

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

Issue 2340323002: Add Origin Trials Test interface, rather than attaching trials directly to internals. (Closed)
Patch Set: Updates 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 class ExceptionState; 54 class ExceptionState;
55 class GCObservation; 55 class GCObservation;
56 class HTMLMediaElement; 56 class HTMLMediaElement;
57 class InternalRuntimeFlags; 57 class InternalRuntimeFlags;
58 class InternalSettings; 58 class InternalSettings;
59 class Iterator; 59 class Iterator;
60 class LayerRectList; 60 class LayerRectList;
61 class LocalDOMWindow; 61 class LocalDOMWindow;
62 class LocalFrame; 62 class LocalFrame;
63 class Node; 63 class Node;
64 class OriginTrialsTest;
64 class Page; 65 class Page;
65 class PrivateScriptTest; 66 class PrivateScriptTest;
66 class Range; 67 class Range;
67 class SerializedScriptValue; 68 class SerializedScriptValue;
68 class ShadowRoot; 69 class ShadowRoot;
69 class TypeConversions; 70 class TypeConversions;
70 class UnionTypesTest; 71 class UnionTypesTest;
71 class ScrollState; 72 class ScrollState;
72 template <typename NodeType> class StaticNodeTypeList; 73 template <typename NodeType> class StaticNodeTypeList;
73 using StaticNodeList = StaticNodeTypeList<Node>; 74 using StaticNodeList = StaticNodeTypeList<Node>;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void setAllowHiddenVolumeControls(HTMLMediaElement*, bool); 277 void setAllowHiddenVolumeControls(HTMLMediaElement*, bool);
277 278
278 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ; 279 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ;
279 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme, const Vector<String>& policyAreas); 280 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme, const Vector<String>& policyAreas);
280 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 281 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme);
281 282
282 TypeConversions* typeConversions() const; 283 TypeConversions* typeConversions() const;
283 PrivateScriptTest* privateScriptTest() const; 284 PrivateScriptTest* privateScriptTest() const;
284 DictionaryTest* dictionaryTest() const; 285 DictionaryTest* dictionaryTest() const;
285 UnionTypesTest* unionTypesTest() const; 286 UnionTypesTest* unionTypesTest() const;
287 OriginTrialsTest* originTrialsTest() const;
286 288
287 Vector<String> getReferencedFilePaths() const; 289 Vector<String> getReferencedFilePaths() const;
288 290
289 void startTrackingRepaints(Document*, ExceptionState&); 291 void startTrackingRepaints(Document*, ExceptionState&);
290 void stopTrackingRepaints(Document*, ExceptionState&); 292 void stopTrackingRepaints(Document*, ExceptionState&);
291 void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, Except ionState&); 293 void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, Except ionState&);
292 void forceFullRepaint(Document*, ExceptionState&); 294 void forceFullRepaint(Document*, ExceptionState&);
293 295
294 ClientRectList* draggableRegions(Document*, ExceptionState&); 296 ClientRectList* draggableRegions(Document*, ExceptionState&);
295 ClientRectList* nonDraggableRegions(Document*, ExceptionState&); 297 ClientRectList* nonDraggableRegions(Document*, ExceptionState&);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 418
417 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 419 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
418 Member<InternalRuntimeFlags> m_runtimeFlags; 420 Member<InternalRuntimeFlags> m_runtimeFlags;
419 421
420 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 422 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
421 }; 423 };
422 424
423 } // namespace blink 425 } // namespace blink
424 426
425 #endif // Internals_h 427 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698