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

Unified Diff: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h

Issue 2589123002: Fix links are not shown for srcset in view-source (Closed)
Patch Set: Fix links are not shown for srcset in view-source Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
diff --git a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
index bac36aaff6b3012d0fc0a58f5c0bdcc50f10938e..daa2a87e18fd8188e7bdecf7935bad91b821a434 100644
--- a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
+++ b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
@@ -74,6 +74,9 @@ class CORE_EXPORT HTMLViewSourceDocument final : public HTMLDocument {
bool isLink = false,
bool isAnchor = false,
const AtomicString& link = nullAtom);
+ int addSrcset(const String& source,
+ int start,
+ int end);
void maybeAddSpanForAnnotation(SourceAnnotation);
Element* addLink(const AtomicString& url, bool isAnchor);

Powered by Google App Engine
This is Rietveld 408576698