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

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

Issue 715653004: Navigation transitions (web to native app): Hide/Show transition elements (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 323
324 void setNetworkStateNotifierTestOnly(bool); 324 void setNetworkStateNotifierTestOnly(bool);
325 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 325 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
326 void setNetworkConnectionInfo(const String&, ExceptionState&); 326 void setNetworkConnectionInfo(const String&, ExceptionState&);
327 327
328 PassRefPtrWillBeRawPtr<ClientRect> boundsInRootViewSpace(Element*); 328 PassRefPtrWillBeRawPtr<ClientRect> boundsInRootViewSpace(Element*);
329 String serializeNavigationMarkup(); 329 String serializeNavigationMarkup();
330 Vector<String> getTransitionElementIds(); 330 Vector<String> getTransitionElementIds();
331 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects(); 331 PassRefPtrWillBeRawPtr<ClientRectList> getTransitionElementRects();
332 void hideAllTransitionElements(); 332 void hideAllTransitionElements();
333 void showAllTransitionElements();
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 Dictionary& options, 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

Powered by Google App Engine
This is Rietveld 408576698