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

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

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests Created 6 years, 2 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 313
314 void setFocused(bool); 314 void setFocused(bool);
315 315
316 bool ignoreLayoutWithPendingStylesheets(Document*); 316 bool ignoreLayoutWithPendingStylesheets(Document*);
317 317
318 void setNetworkStateNotifierTestOnly(bool); 318 void setNetworkStateNotifierTestOnly(bool);
319 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 319 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
320 void setNetworkConnectionInfo(const String&, ExceptionState&); 320 void setNetworkConnectionInfo(const String&, ExceptionState&);
321 String serializeNavigationMarkup(); 321 String serializeNavigationMarkup();
322 void hideAllTransitionElements(); 322 void hideAllTransitionElements();
323 void showAllTransitionElements();
324 void enableExitTransitionStylesheets();
325 void disableExitTransitionStylesheets();
323 326
324 unsigned countHitRegions(CanvasRenderingContext2D*); 327 unsigned countHitRegions(CanvasRenderingContext2D*);
325 328
326 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&); 329 void forcePluginPlaceholder(HTMLElement* plugin, PassRefPtrWillBeRawPtr<Docu mentFragment>, ExceptionState&);
327 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options, ExceptionState&); 330 void forcePluginPlaceholder(HTMLElement* plugin, const Dictionary& options, ExceptionState&);
328 331
329 Iterator* iterator(ScriptState*, ExceptionState&); 332 Iterator* iterator(ScriptState*, ExceptionState&);
330 333
331 private: 334 private:
332 explicit Internals(Document*); 335 explicit Internals(Document*);
333 Document* contextDocument() const; 336 Document* contextDocument() const;
334 LocalFrame* frame() const; 337 LocalFrame* frame() const;
335 Vector<String> iconURLs(Document*, int iconTypesMask) const; 338 Vector<String> iconURLs(Document*, int iconTypesMask) const;
336 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 339 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
337 340
338 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 341 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
339 Member<InternalRuntimeFlags> m_runtimeFlags; 342 Member<InternalRuntimeFlags> m_runtimeFlags;
340 Member<InternalProfilers> m_profilers; 343 Member<InternalProfilers> m_profilers;
341 }; 344 };
342 345
343 } // namespace blink 346 } // namespace blink
344 347
345 #endif // Internals_h 348 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698