| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 const String& url, | 193 const String& url, |
| 194 std::unique_ptr<GetResourceContentCallback>); | 194 std::unique_ptr<GetResourceContentCallback>); |
| 195 void SearchContentAfterResourcesContentLoaded( | 195 void SearchContentAfterResourcesContentLoaded( |
| 196 const String& frame_id, | 196 const String& frame_id, |
| 197 const String& url, | 197 const String& url, |
| 198 const String& query, | 198 const String& query, |
| 199 bool case_sensitive, | 199 bool case_sensitive, |
| 200 bool is_regex, | 200 bool is_regex, |
| 201 std::unique_ptr<SearchInResourceCallback>); | 201 std::unique_ptr<SearchInResourceCallback>); |
| 202 | 202 |
| 203 static bool DataContent(const char* data, | |
| 204 unsigned size, | |
| 205 const String& text_encoding_name, | |
| 206 bool with_base64_encode, | |
| 207 String* result); | |
| 208 | |
| 209 void PageLayoutInvalidated(bool resized); | 203 void PageLayoutInvalidated(bool resized); |
| 210 | 204 |
| 211 std::unique_ptr<protocol::Page::Frame> BuildObjectForFrame(LocalFrame*); | 205 std::unique_ptr<protocol::Page::Frame> BuildObjectForFrame(LocalFrame*); |
| 212 std::unique_ptr<protocol::Page::FrameResourceTree> BuildObjectForFrameTree( | 206 std::unique_ptr<protocol::Page::FrameResourceTree> BuildObjectForFrameTree( |
| 213 LocalFrame*); | 207 LocalFrame*); |
| 214 Member<InspectedFrames> inspected_frames_; | 208 Member<InspectedFrames> inspected_frames_; |
| 215 v8_inspector::V8InspectorSession* v8_session_; | 209 v8_inspector::V8InspectorSession* v8_session_; |
| 216 Client* client_; | 210 Client* client_; |
| 217 long last_script_identifier_; | 211 long last_script_identifier_; |
| 218 String pending_script_to_evaluate_on_load_once_; | 212 String pending_script_to_evaluate_on_load_once_; |
| 219 String script_to_evaluate_on_load_once_; | 213 String script_to_evaluate_on_load_once_; |
| 220 bool enabled_; | 214 bool enabled_; |
| 221 bool reloading_; | 215 bool reloading_; |
| 222 Member<InspectorResourceContentLoader> inspector_resource_content_loader_; | 216 Member<InspectorResourceContentLoader> inspector_resource_content_loader_; |
| 223 int resource_content_loader_client_id_; | 217 int resource_content_loader_client_id_; |
| 224 }; | 218 }; |
| 225 | 219 |
| 226 } // namespace blink | 220 } // namespace blink |
| 227 | 221 |
| 228 #endif // !defined(InspectorPagerAgent_h) | 222 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |