OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |