| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 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, |
| 115 Maybe<String> referrer, |
| 116 String* frameId) override; |
| 115 Response stopLoading() override; | 117 Response stopLoading() override; |
| 116 Response getResourceTree( | 118 Response getResourceTree( |
| 117 std::unique_ptr<protocol::Page::FrameResourceTree>* frameTree) override; | 119 std::unique_ptr<protocol::Page::FrameResourceTree>* frameTree) override; |
| 118 void getResourceContent(const String& frameId, | 120 void getResourceContent(const String& frameId, |
| 119 const String& url, | 121 const String& url, |
| 120 std::unique_ptr<GetResourceContentCallback>) override; | 122 std::unique_ptr<GetResourceContentCallback>) override; |
| 121 void searchInResource(const String& frameId, | 123 void searchInResource(const String& frameId, |
| 122 const String& url, | 124 const String& url, |
| 123 const String& query, | 125 const String& query, |
| 124 Maybe<bool> caseSensitive, | 126 Maybe<bool> caseSensitive, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 String m_scriptToEvaluateOnLoadOnce; | 200 String m_scriptToEvaluateOnLoadOnce; |
| 199 bool m_enabled; | 201 bool m_enabled; |
| 200 bool m_reloading; | 202 bool m_reloading; |
| 201 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader; | 203 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader; |
| 202 int m_resourceContentLoaderClientId; | 204 int m_resourceContentLoaderClientId; |
| 203 }; | 205 }; |
| 204 | 206 |
| 205 } // namespace blink | 207 } // namespace blink |
| 206 | 208 |
| 207 #endif // !defined(InspectorPagerAgent_h) | 209 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |