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

Unified Diff: Source/core/html/parser/HTMLDocumentParser.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/parser/HTMLConstructionSite.h ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLDocumentParser.h
diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h
index 5089e044b9b28ceda55906d3c1e98b8e17838c52..6e31a5398e11e4e1274fd2553f4963f18da23c89 100644
--- a/Source/core/html/parser/HTMLDocumentParser.h
+++ b/Source/core/html/parser/HTMLDocumentParser.h
@@ -73,7 +73,7 @@ public:
return adoptRefWillBeNoop(new HTMLDocumentParser(document, reportErrors));
}
virtual ~HTMLDocumentParser();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
// Exposed for HTMLParserScheduler
void resumeParsingAfterYield();
@@ -82,11 +82,11 @@ public:
HTMLTokenizer* tokenizer() const { return m_tokenizer.get(); }
- virtual TextPosition textPosition() const OVERRIDE FINAL;
- virtual OrdinalNumber lineNumber() const OVERRIDE FINAL;
+ virtual TextPosition textPosition() const override final;
+ virtual OrdinalNumber lineNumber() const override final;
- virtual void suspendScheduledTasks() OVERRIDE FINAL;
- virtual void resumeScheduledTasks() OVERRIDE FINAL;
+ virtual void suspendScheduledTasks() override final;
+ virtual void resumeScheduledTasks() override final;
struct ParsedChunk {
OwnPtr<CompactHTMLTokenStream> tokens;
@@ -100,16 +100,16 @@ public:
void didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>);
void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&);
- virtual void appendBytes(const char* bytes, size_t length) OVERRIDE;
- virtual void flush() OVERRIDE FINAL;
- virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) OVERRIDE FINAL;
+ virtual void appendBytes(const char* bytes, size_t length) override;
+ virtual void flush() override final;
+ virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) override final;
UseCounter* useCounter() { return UseCounter::getFrom(contextForParsingSession()); }
protected:
- virtual void insert(const SegmentedString&) OVERRIDE FINAL;
- virtual void append(PassRefPtr<StringImpl>) OVERRIDE;
- virtual void finish() OVERRIDE FINAL;
+ virtual void insert(const SegmentedString&) override final;
+ virtual void append(PassRefPtr<StringImpl>) override;
+ virtual void finish() override final;
HTMLDocumentParser(HTMLDocument&, bool reportErrors);
HTMLDocumentParser(DocumentFragment*, Element* contextElement, ParserContentPolicy);
@@ -125,21 +125,21 @@ private:
}
// DocumentParser
- virtual void pinToMainThread() OVERRIDE FINAL;
- virtual void detach() OVERRIDE FINAL;
- virtual bool hasInsertionPoint() OVERRIDE FINAL;
- virtual bool processingData() const OVERRIDE FINAL;
- virtual void prepareToStopParsing() OVERRIDE FINAL;
- virtual void stopParsing() OVERRIDE FINAL;
- virtual bool isWaitingForScripts() const OVERRIDE FINAL;
- virtual bool isExecutingScript() const OVERRIDE FINAL;
- virtual void executeScriptsWaitingForResources() OVERRIDE FINAL;
+ virtual void pinToMainThread() override final;
+ virtual void detach() override final;
+ virtual bool hasInsertionPoint() override final;
+ virtual bool processingData() const override final;
+ virtual void prepareToStopParsing() override final;
+ virtual void stopParsing() override final;
+ virtual bool isWaitingForScripts() const override final;
+ virtual bool isExecutingScript() const override final;
+ virtual void executeScriptsWaitingForResources() override final;
// HTMLScriptRunnerHost
- virtual void notifyScriptLoaded(Resource*) OVERRIDE FINAL;
- virtual HTMLInputStream& inputStream() OVERRIDE FINAL { return m_input; }
- virtual bool hasPreloadScanner() const OVERRIDE FINAL { return m_preloadScanner.get() && !shouldUseThreading(); }
- virtual void appendCurrentInputStreamToPreloadScannerAndScan() OVERRIDE FINAL;
+ virtual void notifyScriptLoaded(Resource*) override final;
+ virtual HTMLInputStream& inputStream() override final { return m_input; }
+ virtual bool hasPreloadScanner() const override final { return m_preloadScanner.get() && !shouldUseThreading(); }
+ virtual void appendCurrentInputStreamToPreloadScannerAndScan() override final;
void startBackgroundParser();
void stopBackgroundParser();
« no previous file with comments | « Source/core/html/parser/HTMLConstructionSite.h ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698