| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // Page API for frontend | 105 // Page API for frontend |
| 106 Response enable() override; | 106 Response enable() override; |
| 107 Response disable() override; | 107 Response disable() override; |
| 108 Response addScriptToEvaluateOnLoad(const String& scriptSource, | 108 Response addScriptToEvaluateOnLoad(const String& scriptSource, |
| 109 String* identifier) override; | 109 String* identifier) override; |
| 110 Response removeScriptToEvaluateOnLoad(const String& identifier) override; | 110 Response removeScriptToEvaluateOnLoad(const String& identifier) override; |
| 111 Response setAutoAttachToCreatedPages(bool) override; | 111 Response setAutoAttachToCreatedPages(bool) override; |
| 112 Response reload(Maybe<bool> bypassCache, | 112 Response reload(Maybe<bool> bypassCache, |
| 113 Maybe<String> scriptToEvaluateOnLoad) override; | 113 Maybe<String> scriptToEvaluateOnLoad) override; |
| 114 Response navigate(const String& url, String* frameId) override; | 114 Response navigate(const String& url, String* frameId) override; |
| 115 Response stopLoading() override; |
| 115 Response getResourceTree( | 116 Response getResourceTree( |
| 116 std::unique_ptr<protocol::Page::FrameResourceTree>* frameTree) override; | 117 std::unique_ptr<protocol::Page::FrameResourceTree>* frameTree) override; |
| 117 void getResourceContent(const String& frameId, | 118 void getResourceContent(const String& frameId, |
| 118 const String& url, | 119 const String& url, |
| 119 std::unique_ptr<GetResourceContentCallback>) override; | 120 std::unique_ptr<GetResourceContentCallback>) override; |
| 120 void searchInResource(const String& frameId, | 121 void searchInResource(const String& frameId, |
| 121 const String& url, | 122 const String& url, |
| 122 const String& query, | 123 const String& query, |
| 123 Maybe<bool> caseSensitive, | 124 Maybe<bool> caseSensitive, |
| 124 Maybe<bool> isRegex, | 125 Maybe<bool> isRegex, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 String m_scriptToEvaluateOnLoadOnce; | 198 String m_scriptToEvaluateOnLoadOnce; |
| 198 bool m_enabled; | 199 bool m_enabled; |
| 199 bool m_reloading; | 200 bool m_reloading; |
| 200 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader; | 201 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader; |
| 201 int m_resourceContentLoaderClientId; | 202 int m_resourceContentLoaderClientId; |
| 202 }; | 203 }; |
| 203 | 204 |
| 204 } // namespace blink | 205 } // namespace blink |
| 205 | 206 |
| 206 #endif // !defined(InspectorPagerAgent_h) | 207 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |