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

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

Issue 1819593002: Preload scan external css for @import (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: histogram name change 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;
45 class SegmentedString; 46 class SegmentedString;
46 47
47 struct ViewportDescriptionWrapper { 48 struct ViewportDescriptionWrapper {
48 ViewportDescription description; 49 ViewportDescription description;
49 bool set; 50 bool set;
50 ViewportDescriptionWrapper() 51 ViewportDescriptionWrapper()
51 : set(false) 52 : set(false)
52 { 53 {
53 } 54 }
54 }; 55 };
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 171
171 TokenPreloadScanner m_scanner; 172 TokenPreloadScanner m_scanner;
172 SegmentedString m_source; 173 SegmentedString m_source;
173 HTMLToken m_token; 174 HTMLToken m_token;
174 OwnPtr<HTMLTokenizer> m_tokenizer; 175 OwnPtr<HTMLTokenizer> m_tokenizer;
175 }; 176 };
176 177
177 } // namespace blink 178 } // namespace blink
178 179
179 #endif 180 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698