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

Side by Side Diff: Source/core/inspector/InspectorCSSAgent.h

Issue 196513007: Oilpan: Reapply: Remove all the RefPtrs and most of the raw pointers to style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 InspectorResourceAgent* m_resourceAgent; 193 InspectorResourceAgent* m_resourceAgent;
194 194
195 IdToInspectorStyleSheet m_idToInspectorStyleSheet; 195 IdToInspectorStyleSheet m_idToInspectorStyleSheet;
196 HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > m_cssStyleSheetToInspe ctorStyleSheet; 196 HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > m_cssStyleSheetToInspe ctorStyleSheet;
197 HashMap<LocalFrame*, OwnPtr<HashSet<CSSStyleSheet*> > > m_frameToCSSStyleShe ets; 197 HashMap<LocalFrame*, OwnPtr<HashSet<CSSStyleSheet*> > > m_frameToCSSStyleShe ets;
198 198
199 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet; 199 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet;
200 HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > m_documentToViaInspe ctorStyleSheet; // "via inspector" stylesheets 200 HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > m_documentToViaInspe ctorStyleSheet; // "via inspector" stylesheets
201 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState; 201 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState;
202 202
203 RefPtr<CSSStyleSheet> m_inspectorUserAgentStyleSheet; 203 RefPtrWillBePersistent<CSSStyleSheet> m_inspectorUserAgentStyleSheet;
204 204
205 int m_lastStyleSheetId; 205 int m_lastStyleSheetId;
206 int m_styleSheetsPendingMutation; 206 int m_styleSheetsPendingMutation;
207 bool m_styleDeclarationPendingMutation; 207 bool m_styleDeclarationPendingMutation;
208 bool m_creatingViaInspectorStyleSheet; 208 bool m_creatingViaInspectorStyleSheet;
209 bool m_isSettingStyleSheetText; 209 bool m_isSettingStyleSheetText;
210 210
211 friend class EnableResourceClient; 211 friend class EnableResourceClient;
212 friend class StyleSheetBinder; 212 friend class StyleSheetBinder;
213 }; 213 };
214 214
215 215
216 } // namespace WebCore 216 } // namespace WebCore
217 217
218 #endif // !defined(InspectorCSSAgent_h) 218 #endif // !defined(InspectorCSSAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698