| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 const WebString& message) override; | 78 const WebString& message) override; |
| 79 void addMessageToConsole(const WebConsoleMessage&) override; | 79 void addMessageToConsole(const WebConsoleMessage&) override; |
| 80 | 80 |
| 81 void postMessageToPageInspector(const WTF::String&); | 81 void postMessageToPageInspector(const WTF::String&); |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 void prepareShadowPageForLoader(); | 84 void prepareShadowPageForLoader(); |
| 85 void loadShadowPage(); | 85 void loadShadowPage(); |
| 86 | 86 |
| 87 // WebFrameClient overrides. | 87 // WebFrameClient overrides. |
| 88 void willSendRequest(WebLocalFrame*, WebURLRequest&) override; | 88 void willSendRequest(WebLocalFrame*, |
| 89 WebURLRequest&, |
| 90 WebFrameLoadType) override; |
| 89 void didFinishDocumentLoad(WebLocalFrame*) override; | 91 void didFinishDocumentLoad(WebLocalFrame*) override; |
| 90 | 92 |
| 91 // WebDevToolsAgentClient overrides. | 93 // WebDevToolsAgentClient overrides. |
| 92 void sendProtocolMessage(int sessionId, | 94 void sendProtocolMessage(int sessionId, |
| 93 int callId, | 95 int callId, |
| 94 const WebString&, | 96 const WebString&, |
| 95 const WebString&) override; | 97 const WebString&) override; |
| 96 void resumeStartup() override; | 98 void resumeStartup() override; |
| 97 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() | 99 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() |
| 98 override; | 100 override; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 DoPauseAfterDownload, | 148 DoPauseAfterDownload, |
| 147 IsPausedAfterDownload | 149 IsPausedAfterDownload |
| 148 } m_pauseAfterDownloadState; | 150 } m_pauseAfterDownloadState; |
| 149 | 151 |
| 150 WaitingForDebuggerState m_waitingForDebuggerState; | 152 WaitingForDebuggerState m_waitingForDebuggerState; |
| 151 }; | 153 }; |
| 152 | 154 |
| 153 } // namespace blink | 155 } // namespace blink |
| 154 | 156 |
| 155 #endif // WebEmbeddedWorkerImpl_h | 157 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |