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

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

Issue 720673002: Replace generic Dictionary with DictionaryPluginPlaceholderOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class InternalProfilers; 60 class InternalProfilers;
61 class InternalRuntimeFlags; 61 class InternalRuntimeFlags;
62 class InternalSettings; 62 class InternalSettings;
63 class Iterator; 63 class Iterator;
64 class LayerRectList; 64 class LayerRectList;
65 class LocalDOMWindow; 65 class LocalDOMWindow;
66 class LocalFrame; 66 class LocalFrame;
67 class Node; 67 class Node;
68 class Page; 68 class Page;
69 class PagePopupController; 69 class PagePopupController;
70 class PluginPlaceholderOptions;
70 class PrivateScriptTest; 71 class PrivateScriptTest;
71 class Range; 72 class Range;
72 class SerializedScriptValue; 73 class SerializedScriptValue;
73 class ShadowRoot; 74 class ShadowRoot;
74 class TypeConversions; 75 class TypeConversions;
75 class UnionTypesTest; 76 class UnionTypesTest;
76 template <typename NodeType> class StaticNodeTypeList; 77 template <typename NodeType> class StaticNodeTypeList;
77 typedef StaticNodeTypeList<Node> StaticNodeList; 78 typedef StaticNodeTypeList<Node> StaticNodeList;
78 79
79 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri ptWrappable, public ContextLifecycleObserver { 80 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri ptWrappable, public ContextLifecycleObserver {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 328
328 PassRefPtrWillBeRawPtr<ClientRect> boundsInRootViewSpace(Element*); 329 PassRefPtrWillBeRawPtr<ClientRect> boundsInRootViewSpace(Element*);
329 String serializeNavigationMarkup(); 330 String serializeNavigationMarkup();
330 Vector<String> getTransitionElementIds(); 331 Vector<String> getTransitionElementIds();
331 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects(); 332 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects();
332 void hideAllTransitionElements(); 333 void hideAllTransitionElements();
333 334
334 unsigned countHitRegions(CanvasRenderingContext2D*); 335 unsigned countHitRegions(CanvasRenderingContext2D*);
335 336
336 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&); 337 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&);
337 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options, ExceptionState&); 338 void forcePluginPlaceholder(HTMLElement* plugin, const PluginPlaceholderOpti ons&, ExceptionState&);
338 339
339 Iterator* iterator(ScriptState*, ExceptionState&); 340 Iterator* iterator(ScriptState*, ExceptionState&);
340 341
341 private: 342 private:
342 explicit Internals(Document*); 343 explicit Internals(Document*);
343 Document* contextDocument() const; 344 Document* contextDocument() const;
344 LocalFrame* frame() const; 345 LocalFrame* frame() const;
345 Vector<String> iconURLs(Document*, int iconTypesMask) const; 346 Vector<String> iconURLs(Document*, int iconTypesMask) const;
346 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 347 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
347 348
348 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 349 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
349 Member<InternalRuntimeFlags> m_runtimeFlags; 350 Member<InternalRuntimeFlags> m_runtimeFlags;
350 Member<InternalProfilers> m_profilers; 351 Member<InternalProfilers> m_profilers;
351 }; 352 };
352 353
353 } // namespace blink 354 } // namespace blink
354 355
355 #endif // Internals_h 356 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/plugins/testing/DictionaryPluginPlaceholder.h ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698