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

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

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class FetchRequest; 45 class FetchRequest;
46 class ExecutionContext; 46 class ExecutionContext;
47 class ResourceFetcher; 47 class ResourceFetcher;
48 class HTMLImportChild; 48 class HTMLImportChild;
49 class HTMLImportChildClient; 49 class HTMLImportChildClient;
50 class HTMLImportLoader; 50 class HTMLImportLoader;
51 51
52 class HTMLImportsController FINAL : public HTMLImport, public DocumentSupplement { 52 class HTMLImportsController FINAL : public NoBaseWillBeGarbageCollectedFinalized <HTMLImportsController>, public HTMLImport, public DocumentSupplement {
53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController);
53 WTF_MAKE_FAST_ALLOCATED; 54 WTF_MAKE_FAST_ALLOCATED;
haraken 2014/04/30 02:41:22 Shouldn't this be WTF_MAKE_FAST_ALLOCATED_WILL_BE_
zerny-chromium 2014/04/30 08:29:34 Thanks! Nothing at compile-time disallows defining
54 public: 55 public:
55 static void provideTo(Document&); 56 static void provideTo(Document&);
56 57
57 explicit HTMLImportsController(Document&); 58 explicit HTMLImportsController(Document&);
58 virtual ~HTMLImportsController(); 59 virtual ~HTMLImportsController();
59 60
60 bool isMaster(const Document& document) const { return m_master == &document ; } 61 bool isMaster(const Document& document) const { return m_master == &document ; }
61 bool shouldBlockScriptExecution(const Document&) const; 62 bool shouldBlockScriptExecution(const Document&) const;
62 void wasDetachedFrom(const Document&); 63 void wasDetachedFrom(const Document&);
63 64
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 102
102 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList; 103 typedef Vector<RefPtr<HTMLImportLoader> > LoaderList;
103 LoaderList m_loaders; 104 LoaderList m_loaders;
104 }; 105 };
105 106
106 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot()); 107 DEFINE_TYPE_CASTS(HTMLImportsController, HTMLImport, import, import->isRoot(), i mport.isRoot());
107 108
108 } // namespace WebCore 109 } // namespace WebCore
109 110
110 #endif // HTMLImportsController_h 111 #endif // HTMLImportsController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698