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

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

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor cleanup. 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
82 virtual void trace(Visitor*) OVERRIDE { } 81 virtual void trace(Visitor*) OVERRIDE { }
83 HTMLImportLoader* createLoader(); 82 HTMLImportLoader* createLoader();
84 83
85 size_t loaderCount() const { return m_loaders.size(); } 84 size_t loaderCount() const { return m_loaders.size(); }
86 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); } 85 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); }
87 HTMLImportLoader* loaderFor(const Document&) const; 86 HTMLImportLoader* loaderFor(const Document&) const;
88 87
89 void scheduleRecalcState(); 88 void scheduleRecalcState();
90 HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const; 89 HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const;
91 90
(...skipping 10 matching lines...) Expand all
102 101
103 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList; 102 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList;
104 LoaderList m_loaders; 103 LoaderList m_loaders;
105 }; 104 };
106 105
107 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot()); 106 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot());
108 107
109 } // namespace WebCore 108 } // namespace WebCore
110 109
111 #endif // HTMLImportsController_h 110 #endif // HTMLImportsController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698