| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void dispatchDevToolsMessage(int sessionId, int callId, const WebString& met
hod, const WebString& message) override; | 70 void dispatchDevToolsMessage(int sessionId, int callId, const WebString& met
hod, const WebString& message) override; |
| 71 void addMessageToConsole(const WebConsoleMessage&) override; | 71 void addMessageToConsole(const WebConsoleMessage&) override; |
| 72 | 72 |
| 73 void postMessageToPageInspector(const WTF::String&); | 73 void postMessageToPageInspector(const WTF::String&); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 void prepareShadowPageForLoader(); | 76 void prepareShadowPageForLoader(); |
| 77 void loadShadowPage(); | 77 void loadShadowPage(); |
| 78 | 78 |
| 79 // WebFrameClient overrides. | 79 // WebFrameClient overrides. |
| 80 void willSendRequest( | 80 void willSendRequest(WebLocalFrame*, WebURLRequest&) override; |
| 81 WebLocalFrame*, unsigned identifier, WebURLRequest&, | |
| 82 const WebURLResponse& redirectResponse) override; | |
| 83 void didFinishDocumentLoad(WebLocalFrame*) override; | 81 void didFinishDocumentLoad(WebLocalFrame*) override; |
| 84 | 82 |
| 85 // WebDevToolsAgentClient overrides. | 83 // WebDevToolsAgentClient overrides. |
| 86 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; | 84 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; |
| 87 void resumeStartup() override; | 85 void resumeStartup() override; |
| 88 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; | 86 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; |
| 89 | 87 |
| 90 void onScriptLoaderFinished(); | 88 void onScriptLoaderFinished(); |
| 91 void startWorkerThread(); | 89 void startWorkerThread(); |
| 92 | 90 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 DoPauseAfterDownload, | 132 DoPauseAfterDownload, |
| 135 IsPausedAfterDownload | 133 IsPausedAfterDownload |
| 136 } m_pauseAfterDownloadState; | 134 } m_pauseAfterDownloadState; |
| 137 | 135 |
| 138 WaitingForDebuggerState m_waitingForDebuggerState; | 136 WaitingForDebuggerState m_waitingForDebuggerState; |
| 139 }; | 137 }; |
| 140 | 138 |
| 141 } // namespace blink | 139 } // namespace blink |
| 142 | 140 |
| 143 #endif // WebEmbeddedWorkerImpl_h | 141 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |