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

Side by Side Diff: Source/core/html/LinkImport.h

Issue 126793004: Update HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/LabelsNodeList.h ('k') | Source/core/html/MediaController.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class Document; 42 class Document;
43 class HTMLImportChild; 43 class HTMLImportChild;
44 44
45 // 45 //
46 // A LinkResource subclasss used for @rel=import. 46 // A LinkResource subclasss used for @rel=import.
47 // 47 //
48 class LinkImport : public LinkResource, public HTMLImportChildClient { 48 class LinkImport FINAL : public LinkResource, public HTMLImportChildClient {
49 WTF_MAKE_FAST_ALLOCATED; 49 WTF_MAKE_FAST_ALLOCATED;
50 public: 50 public:
51 51
52 static PassOwnPtr<LinkImport> create(HTMLLinkElement* owner); 52 static PassOwnPtr<LinkImport> create(HTMLLinkElement* owner);
53 53
54 explicit LinkImport(HTMLLinkElement* owner); 54 explicit LinkImport(HTMLLinkElement* owner);
55 virtual ~LinkImport(); 55 virtual ~LinkImport();
56 56
57 // LinkResource 57 // LinkResource
58 virtual void process() OVERRIDE; 58 virtual void process() OVERRIDE;
(...skipping 10 matching lines...) Expand all
69 69
70 private: 70 private:
71 void clear(); 71 void clear();
72 72
73 HTMLImportChild* m_child; 73 HTMLImportChild* m_child;
74 }; 74 };
75 75
76 } // namespace WebCore 76 } // namespace WebCore
77 77
78 #endif // LinkImport_h 78 #endif // LinkImport_h
OLDNEW
« no previous file with comments | « Source/core/html/LabelsNodeList.h ('k') | Source/core/html/MediaController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698