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

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

Issue 522783002: Add a custom element to own structure of shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix due to binding changes Created 6 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 | Annotate | Revision Log
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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 void setNetworkStateNotifierTestOnly(bool); 311 void setNetworkStateNotifierTestOnly(bool);
312 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 312 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
313 void setNetworkConnectionInfo(const String&, ExceptionState&); 313 void setNetworkConnectionInfo(const String&, ExceptionState&);
314 String serializeNavigationMarkup(); 314 String serializeNavigationMarkup();
315 void hideAllTransitionElements(); 315 void hideAllTransitionElements();
316 316
317 unsigned countHitRegions(CanvasRenderingContext2D*); 317 unsigned countHitRegions(CanvasRenderingContext2D*);
318 318
319 void forcePluginPlaceholder(HTMLElement* plugin, const String& htmlSource, E xceptionState&); 319 void forcePluginPlaceholder(HTMLElement* plugin, const String& htmlSource, E xceptionState&);
320 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options, ExceptionState&);
320 321
321 private: 322 private:
322 explicit Internals(Document*); 323 explicit Internals(Document*);
323 Document* contextDocument() const; 324 Document* contextDocument() const;
324 LocalFrame* frame() const; 325 LocalFrame* frame() const;
325 Vector<String> iconURLs(Document*, int iconTypesMask) const; 326 Vector<String> iconURLs(Document*, int iconTypesMask) const;
326 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 327 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
327 328
328 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 329 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
329 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 330 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
330 RefPtrWillBeMember<InternalProfilers> m_profilers; 331 RefPtrWillBeMember<InternalProfilers> m_profilers;
331 }; 332 };
332 333
333 } // namespace blink 334 } // namespace blink
334 335
335 #endif // Internals_h 336 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698