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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... 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 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 26 matching lines...) Expand all
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class CORE_EXPORT HTMLTokenizer { 40 class CORE_EXPORT HTMLTokenizer {
41 WTF_MAKE_NONCOPYABLE(HTMLTokenizer); 41 WTF_MAKE_NONCOPYABLE(HTMLTokenizer);
42 USING_FAST_MALLOC(HTMLTokenizer); 42 USING_FAST_MALLOC(HTMLTokenizer);
43 43
44 public: 44 public:
45 static std::unique_ptr<HTMLTokenizer> create( 45 static std::unique_ptr<HTMLTokenizer> create(
46 const HTMLParserOptions& options) { 46 const HTMLParserOptions& options) {
47 return wrapUnique(new HTMLTokenizer(options)); 47 return WTF::wrapUnique(new HTMLTokenizer(options));
48 } 48 }
49 ~HTMLTokenizer(); 49 ~HTMLTokenizer();
50 50
51 void reset(); 51 void reset();
52 52
53 enum State { 53 enum State {
54 DataState, 54 DataState,
55 CharacterReferenceInDataState, 55 CharacterReferenceInDataState,
56 RCDATAState, 56 RCDATAState,
57 CharacterReferenceInRCDATAState, 57 CharacterReferenceInRCDATAState,
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // token (e.g., when lexing script). We buffer the name of the end tag 263 // token (e.g., when lexing script). We buffer the name of the end tag
264 // token here so we remember it next time we re-enter the tokenizer. 264 // token here so we remember it next time we re-enter the tokenizer.
265 Vector<LChar, 32> m_bufferedEndTagName; 265 Vector<LChar, 32> m_bufferedEndTagName;
266 266
267 HTMLParserOptions m_options; 267 HTMLParserOptions m_options;
268 }; 268 };
269 269
270 } // namespace blink 270 } // namespace blink
271 271
272 #endif 272 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLToken.h ('k') | third_party/WebKit/Source/core/html/parser/PreloadRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698