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

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

Issue 243793006: HTML Imports: Teach preloader about HTML Imports. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/html/parser/HTMLResourcePreloader.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 static void resetToConsistentState(Page*); 76 static void resetToConsistentState(Page*);
77 77
78 String elementRenderTreeAsText(Element*, ExceptionState&); 78 String elementRenderTreeAsText(Element*, ExceptionState&);
79 79
80 String address(Node*); 80 String address(Node*);
81 81
82 PassRefPtrWillBeRawPtr<GCObservation> observeGC(ScriptValue); 82 PassRefPtrWillBeRawPtr<GCObservation> observeGC(ScriptValue);
83 83
84 bool isPreloaded(const String& url); 84 bool isPreloaded(const String& url);
85 bool isPreloadedBy(const String& url, Document*);
85 bool isLoadingFromMemoryCache(const String& url); 86 bool isLoadingFromMemoryCache(const String& url);
86 87
87 void crash(); 88 void crash();
88 89
89 void setStyleResolverStatsEnabled(bool); 90 void setStyleResolverStatsEnabled(bool);
90 String styleResolverStatsReport(ExceptionState&) const; 91 String styleResolverStatsReport(ExceptionState&) const;
91 String styleResolverStatsTotalsReport(ExceptionState&) const; 92 String styleResolverStatsTotalsReport(ExceptionState&) const;
92 93
93 bool isSharingStyle(Element*, Element*, ExceptionState&) const; 94 bool isSharingStyle(Element*, Element*, ExceptionState&) const;
94 95
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 333 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
333 334
334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 335 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 336 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
336 RefPtrWillBeMember<InternalProfilers> m_profilers; 337 RefPtrWillBeMember<InternalProfilers> m_profilers;
337 }; 338 };
338 339
339 } // namespace WebCore 340 } // namespace WebCore
340 341
341 #endif 342 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLResourcePreloader.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698