OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 private: | 136 private: |
137 InspectorPageAgent(InspectedFrames*, Client*, InspectorResourceContentLoader
*, InspectorDebuggerAgent*); | 137 InspectorPageAgent(InspectedFrames*, Client*, InspectorResourceContentLoader
*, InspectorDebuggerAgent*); |
138 | 138 |
139 void finishReload(); | 139 void finishReload(); |
140 void getResourceContentAfterResourcesContentLoaded(const String& frameId, co
nst String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>); | 140 void getResourceContentAfterResourcesContentLoaded(const String& frameId, co
nst String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>); |
141 | 141 |
142 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); | 142 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); |
143 | 143 |
144 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); | 144 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); |
145 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc
alFrame*); | 145 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc
alFrame*); |
146 InspectedFrames* m_inspectedFrames; | 146 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; |
147 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 147 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
148 Client* m_client; | 148 Client* m_client; |
149 long m_lastScriptIdentifier; | 149 long m_lastScriptIdentifier; |
150 String m_pendingScriptToEvaluateOnLoadOnce; | 150 String m_pendingScriptToEvaluateOnLoadOnce; |
151 String m_scriptToEvaluateOnLoadOnce; | 151 String m_scriptToEvaluateOnLoadOnce; |
152 bool m_enabled; | 152 bool m_enabled; |
153 bool m_reloading; | 153 bool m_reloading; |
154 | 154 |
155 RawPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; | 155 RawPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; |
156 }; | 156 }; |
157 | 157 |
158 | 158 |
159 } // namespace blink | 159 } // namespace blink |
160 | 160 |
161 | 161 |
162 #endif // !defined(InspectorPagerAgent_h) | 162 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |