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

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

Issue 281383006: Navigation transitions: Added createStyledMarkupForNavigationTransition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 6 years, 5 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 312 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
313 313
314 void setFocused(bool); 314 void setFocused(bool);
315 315
316 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&); 316 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&);
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(Document*, ExceptionState&);
321 322
322 unsigned countHitRegions(CanvasRenderingContext2D*); 323 unsigned countHitRegions(CanvasRenderingContext2D*);
323 324
324 private: 325 private:
325 explicit Internals(Document*); 326 explicit Internals(Document*);
326 Document* contextDocument() const; 327 Document* contextDocument() const;
327 LocalFrame* frame() const; 328 LocalFrame* frame() const;
328 Vector<String> iconURLs(Document*, int iconTypesMask) const; 329 Vector<String> iconURLs(Document*, int iconTypesMask) const;
329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
330 331
331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
333 RefPtrWillBeMember<InternalProfilers> m_profilers; 334 RefPtrWillBeMember<InternalProfilers> m_profilers;
334 }; 335 };
335 336
336 } // namespace WebCore 337 } // namespace WebCore
337 338
338 #endif 339 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698