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