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

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

Issue 976263002: HTML Imports: Teach preloader about HTML Imports. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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
« no previous file with comments | « Source/core/loader/DocumentLoader.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 static void resetToConsistentState(Page*); 84 static void resetToConsistentState(Page*);
85 85
86 String elementLayoutTreeAsText(Element*, ExceptionState&); 86 String elementLayoutTreeAsText(Element*, ExceptionState&);
87 87
88 String address(Node*); 88 String address(Node*);
89 89
90 GCObservation* observeGC(ScriptValue); 90 GCObservation* observeGC(ScriptValue);
91 91
92 bool isPreloaded(const String& url); 92 bool isPreloaded(const String& url);
93 bool isPreloadedBy(const String& url, Document*);
93 bool isLoadingFromMemoryCache(const String& url); 94 bool isLoadingFromMemoryCache(const String& url);
94 95
95 bool isSharingStyle(Element*, Element*) const; 96 bool isSharingStyle(Element*, Element*) const;
96 97
97 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> computedStyleIncludingVisitedInf o(Node*) const; 98 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> computedStyleIncludingVisitedInf o(Node*) const;
98 99
99 PassRefPtrWillBeRawPtr<ShadowRoot> createUserAgentShadowRoot(Element* host); 100 PassRefPtrWillBeRawPtr<ShadowRoot> createUserAgentShadowRoot(Element* host);
100 101
101 ShadowRoot* shadowRoot(Element* host); 102 ShadowRoot* shadowRoot(Element* host);
102 ShadowRoot* youngestShadowRoot(Element* host); 103 ShadowRoot* youngestShadowRoot(Element* host);
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 369
369 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 370 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
370 Member<InternalRuntimeFlags> m_runtimeFlags; 371 Member<InternalRuntimeFlags> m_runtimeFlags;
371 372
372 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 373 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
373 }; 374 };
374 375
375 } // namespace blink 376 } // namespace blink
376 377
377 #endif // Internals_h 378 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698