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

Side by Side Diff: Source/core/dom/ContextFeatures.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static PassRefPtrWillBeRawPtr<ContextFeatures> create(PassOwnPtr<ContextFeat uresClient>); 57 static PassRefPtrWillBeRawPtr<ContextFeatures> create(PassOwnPtr<ContextFeat uresClient>);
58 58
59 static bool pagePopupEnabled(Document*); 59 static bool pagePopupEnabled(Document*);
60 static bool mutationEventsEnabled(Document*); 60 static bool mutationEventsEnabled(Document*);
61 static bool pushStateEnabled(Document*); 61 static bool pushStateEnabled(Document*);
62 62
63 bool isEnabled(Document*, FeatureType, bool) const; 63 bool isEnabled(Document*, FeatureType, bool) const;
64 void urlDidChange(Document*); 64 void urlDidChange(Document*);
65 65
66 #if ENABLE(OILPAN) 66 #if ENABLE(OILPAN)
67 virtual void trace(Visitor* visitor) override { HeapSupplement<Page>::trace( visitor); } 67 DEFINE_INLINE_VIRTUAL_TRACE() { HeapSupplement<Page>::trace(visitor); }
68 #endif 68 #endif
69 69
70 private: 70 private:
71 explicit ContextFeatures(PassOwnPtr<ContextFeaturesClient> client) 71 explicit ContextFeatures(PassOwnPtr<ContextFeaturesClient> client)
72 : m_client(client) 72 : m_client(client)
73 { } 73 { }
74 74
75 OwnPtr<ContextFeaturesClient> m_client; 75 OwnPtr<ContextFeaturesClient> m_client;
76 }; 76 };
77 77
(...skipping 30 matching lines...) Expand all
108 // See issue 294180 108 // See issue 294180
109 // 109 //
110 // if (m_client) 110 // if (m_client)
111 // return; 111 // return;
112 // m_client->urlDidChange(document); 112 // m_client->urlDidChange(document);
113 } 113 }
114 114
115 } // namespace blink 115 } // namespace blink
116 116
117 #endif // ContextFeatures_h 117 #endif // ContextFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698