| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 const WebString& message) override; | 77 const WebString& message) override; |
| 78 void AddMessageToConsole(const WebConsoleMessage&) override; | 78 void AddMessageToConsole(const WebConsoleMessage&) override; |
| 79 | 79 |
| 80 void PostMessageToPageInspector(const WTF::String&); | 80 void PostMessageToPageInspector(const WTF::String&); |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 void PrepareShadowPageForLoader(); | 83 void PrepareShadowPageForLoader(); |
| 84 void LoadShadowPage(); | 84 void LoadShadowPage(); |
| 85 | 85 |
| 86 // WebFrameClient overrides. | 86 // WebFrameClient overrides. |
| 87 void FrameDetached(WebLocalFrame*, DetachType) override; |
| 87 void DidFinishDocumentLoad() override; | 88 void DidFinishDocumentLoad() override; |
| 88 | 89 |
| 89 // WebDevToolsAgentClient overrides. | 90 // WebDevToolsAgentClient overrides. |
| 90 void SendProtocolMessage(int session_id, | 91 void SendProtocolMessage(int session_id, |
| 91 int call_id, | 92 int call_id, |
| 92 const WebString&, | 93 const WebString&, |
| 93 const WebString&) override; | 94 const WebString&) override; |
| 94 void ResumeStartup() override; | 95 void ResumeStartup() override; |
| 95 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() | 96 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() |
| 96 override; | 97 override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 kDoPauseAfterDownload, | 137 kDoPauseAfterDownload, |
| 137 kIsPausedAfterDownload | 138 kIsPausedAfterDownload |
| 138 } pause_after_download_state_; | 139 } pause_after_download_state_; |
| 139 | 140 |
| 140 WaitingForDebuggerState waiting_for_debugger_state_; | 141 WaitingForDebuggerState waiting_for_debugger_state_; |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace blink | 144 } // namespace blink |
| 144 | 145 |
| 145 #endif // WebEmbeddedWorkerImpl_h | 146 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |