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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h

Issue 1947053002: Manual revert of "Preload scan external css for @import" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep histograms.xml Created 4 years, 7 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2010 Google Inc. All Rights Reserved. 3 * Copyright (C) 2010 Google 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 24 matching lines...) Expand all
35 #include "core/html/parser/HTMLToken.h" 35 #include "core/html/parser/HTMLToken.h"
36 #include "platform/text/SegmentedString.h" 36 #include "platform/text/SegmentedString.h"
37 #include "wtf/Vector.h" 37 #include "wtf/Vector.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 typedef size_t TokenPreloadScannerCheckpoint; 41 typedef size_t TokenPreloadScannerCheckpoint;
42 42
43 class HTMLParserOptions; 43 class HTMLParserOptions;
44 class HTMLTokenizer; 44 class HTMLTokenizer;
45 class ResourcePreloader;
46 class SegmentedString; 45 class SegmentedString;
47 46
48 struct ViewportDescriptionWrapper { 47 struct ViewportDescriptionWrapper {
49 ViewportDescription description; 48 ViewportDescription description;
50 bool set; 49 bool set;
51 ViewportDescriptionWrapper() 50 ViewportDescriptionWrapper()
52 : set(false) 51 : set(false)
53 { 52 {
54 } 53 }
55 }; 54 };
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 170
172 TokenPreloadScanner m_scanner; 171 TokenPreloadScanner m_scanner;
173 SegmentedString m_source; 172 SegmentedString m_source;
174 HTMLToken m_token; 173 HTMLToken m_token;
175 OwnPtr<HTMLTokenizer> m_tokenizer; 174 OwnPtr<HTMLTokenizer> m_tokenizer;
176 }; 175 };
177 176
178 } // namespace blink 177 } // namespace blink
179 178
180 #endif 179 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698