| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void dispatchDevToolsMessage(const WebString&) override; | 68 void dispatchDevToolsMessage(const WebString&) override; |
| 69 | 69 |
| 70 void postMessageToPageInspector(const WTF::String&); | 70 void postMessageToPageInspector(const WTF::String&); |
| 71 | 71 |
| 72 private: | 72 private: |
| 73 void prepareShadowPageForLoader(); | 73 void prepareShadowPageForLoader(); |
| 74 void loadShadowPage(); | 74 void loadShadowPage(); |
| 75 | 75 |
| 76 // WebFrameClient overrides. | 76 // WebFrameClient overrides. |
| 77 void willSendRequest( | 77 void willSendRequest( |
| 78 WebLocalFrame*, unsigned identifier, WebURLRequest&, | 78 WebDataSource*, unsigned identifier, WebURLRequest&, |
| 79 const WebURLResponse& redirectResponse) override; | 79 const WebURLResponse& redirectResponse) override; |
| 80 void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) override; | 80 void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) override; |
| 81 | 81 |
| 82 // WebDevToolsAgentClient overrides. | 82 // WebDevToolsAgentClient overrides. |
| 83 void sendProtocolMessage(int callId, const WebString&, const WebString&) ove
rride; | 83 void sendProtocolMessage(int callId, const WebString&, const WebString&) ove
rride; |
| 84 void resumeStartup() override; | 84 void resumeStartup() override; |
| 85 | 85 |
| 86 void onScriptLoaderFinished(); | 86 void onScriptLoaderFinished(); |
| 87 void startWorkerThread(); | 87 void startWorkerThread(); |
| 88 | 88 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 WaitingForDebuggerAfterScriptLoaded, | 125 WaitingForDebuggerAfterScriptLoaded, |
| 126 NotWaitingForDebugger | 126 NotWaitingForDebugger |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 WaitingForDebuggerState m_waitingForDebuggerState; | 129 WaitingForDebuggerState m_waitingForDebuggerState; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace blink | 132 } // namespace blink |
| 133 | 133 |
| 134 #endif // WebEmbeddedWorkerImpl_h | 134 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |