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

Side by Side Diff: Source/core/html/PluginDocument.cpp

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 unified diff | Download patch
« no previous file with comments | « Source/core/html/PluginDocument.h ('k') | Source/core/html/PublicURLManager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 using namespace HTMLNames; 44 using namespace HTMLNames;
45 45
46 // FIXME: Share more code with MediaDocumentParser. 46 // FIXME: Share more code with MediaDocumentParser.
47 class PluginDocumentParser : public RawDataDocumentParser { 47 class PluginDocumentParser : public RawDataDocumentParser {
48 public: 48 public:
49 static PassRefPtrWillBeRawPtr<PluginDocumentParser> create(PluginDocument* d ocument) 49 static PassRefPtrWillBeRawPtr<PluginDocumentParser> create(PluginDocument* d ocument)
50 { 50 {
51 return adoptRefWillBeNoop(new PluginDocumentParser(document)); 51 return adoptRefWillBeNoop(new PluginDocumentParser(document));
52 } 52 }
53 53
54 virtual void trace(Visitor* visitor) OVERRIDE 54 virtual void trace(Visitor* visitor) override
55 { 55 {
56 visitor->trace(m_embedElement); 56 visitor->trace(m_embedElement);
57 RawDataDocumentParser::trace(visitor); 57 RawDataDocumentParser::trace(visitor);
58 } 58 }
59 59
60 private: 60 private:
61 PluginDocumentParser(Document* document) 61 PluginDocumentParser(Document* document)
62 : RawDataDocumentParser(document) 62 : RawDataDocumentParser(document)
63 , m_embedElement(nullptr) 63 , m_embedElement(nullptr)
64 { 64 {
65 } 65 }
66 66
67 virtual void appendBytes(const char*, size_t) OVERRIDE; 67 virtual void appendBytes(const char*, size_t) override;
68 68
69 virtual void finish() OVERRIDE; 69 virtual void finish() override;
70 70
71 void createDocumentStructure(); 71 void createDocumentStructure();
72 72
73 PluginView* pluginView() const; 73 PluginView* pluginView() const;
74 74
75 RefPtrWillBeMember<HTMLEmbedElement> m_embedElement; 75 RefPtrWillBeMember<HTMLEmbedElement> m_embedElement;
76 }; 76 };
77 77
78 void PluginDocumentParser::createDocumentStructure() 78 void PluginDocumentParser::createDocumentStructure()
79 { 79 {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 HTMLDocument::detach(context); 187 HTMLDocument::detach(context);
188 } 188 }
189 189
190 void PluginDocument::trace(Visitor* visitor) 190 void PluginDocument::trace(Visitor* visitor)
191 { 191 {
192 visitor->trace(m_pluginNode); 192 visitor->trace(m_pluginNode);
193 HTMLDocument::trace(visitor); 193 HTMLDocument::trace(visitor);
194 } 194 }
195 195
196 } 196 }
OLDNEW
« no previous file with comments | « Source/core/html/PluginDocument.h ('k') | Source/core/html/PublicURLManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698