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

Side by Side Diff: Source/core/html/imports/HTMLImportsController.h

Issue 270213006: Oilpan: Remove unnecessary trace methods in the supplement hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 HTMLImportChild* load(HTMLImport* parent, HTMLImportChildClient*, FetchReque st); 71 HTMLImportChild* load(HTMLImport* parent, HTMLImportChildClient*, FetchReque st);
72 void showSecurityErrorMessage(const String&); 72 void showSecurityErrorMessage(const String&);
73 73
74 SecurityOrigin* securityOrigin() const; 74 SecurityOrigin* securityOrigin() const;
75 ResourceFetcher* fetcher() const; 75 ResourceFetcher* fetcher() const;
76 LocalFrame* frame() const; 76 LocalFrame* frame() const;
77 Document* master() const { return m_master; } 77 Document* master() const { return m_master; }
78 78
79 void recalcTimerFired(Timer<HTMLImportsController>*); 79 void recalcTimerFired(Timer<HTMLImportsController>*);
80 80
81 virtual void trace(Visitor* visitor) OVERRIDE { DocumentSupplement::trace(vi sitor); }
82
83 HTMLImportLoader* createLoader(); 81 HTMLImportLoader* createLoader();
84 82
85 size_t loaderCount() const { return m_loaders.size(); } 83 size_t loaderCount() const { return m_loaders.size(); }
86 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); } 84 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); }
87 HTMLImportLoader* loaderFor(const Document&) const; 85 HTMLImportLoader* loaderFor(const Document&) const;
88 86
89 void scheduleRecalcState(); 87 void scheduleRecalcState();
90 HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const; 88 HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const;
91 89
92 private: 90 private:
93 HTMLImportChild* createChild(const KURL&, HTMLImport* parent, HTMLImportChil dClient*); 91 HTMLImportChild* createChild(const KURL&, HTMLImport* parent, HTMLImportChil dClient*);
94 void clear(); 92 void clear();
95 93
96 Document* m_master; 94 Document* m_master;
97 Timer<HTMLImportsController> m_recalcTimer; 95 Timer<HTMLImportsController> m_recalcTimer;
98 96
99 // List of import which has been loaded or being loaded. 97 // List of import which has been loaded or being loaded.
100 typedef Vector<OwnPtr<HTMLImportChild> > ImportList; 98 typedef Vector<OwnPtr<HTMLImportChild> > ImportList;
101 ImportList m_imports; 99 ImportList m_imports;
102 100
103 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList; 101 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList;
104 LoaderList m_loaders; 102 LoaderList m_loaders;
105 }; 103 };
106 104
107 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot()); 105 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot());
108 106
109 } // namespace WebCore 107 } // namespace WebCore
110 108
111 #endif // HTMLImportsController_h 109 #endif // HTMLImportsController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698