| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void ReattachDevTools(const WebString& host_id, | 71 void ReattachDevTools(const WebString& host_id, |
| 72 int session_id, | 72 int session_id, |
| 73 const WebString& saved_state) override; | 73 const WebString& saved_state) override; |
| 74 void DetachDevTools(int session_id) override; | 74 void DetachDevTools(int session_id) override; |
| 75 void DispatchDevToolsMessage(int session_id, | 75 void DispatchDevToolsMessage(int session_id, |
| 76 int call_id, | 76 int call_id, |
| 77 const WebString& method, | 77 const WebString& method, |
| 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(int session_id, const WTF::String&); |
| 82 std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override { | 82 std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override { |
| 83 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. | 83 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. |
| 84 return Platform::Current()->CreateURLLoader(); | 84 return Platform::Current()->CreateURLLoader(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 void PrepareShadowPageForLoader(); | 88 void PrepareShadowPageForLoader(); |
| 89 void LoadShadowPage(); | 89 void LoadShadowPage(); |
| 90 | 90 |
| 91 // WebFrameClient overrides. | 91 // WebFrameClient overrides. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 } pause_after_download_state_; | 140 } pause_after_download_state_; |
| 141 | 141 |
| 142 WaitingForDebuggerState waiting_for_debugger_state_; | 142 WaitingForDebuggerState waiting_for_debugger_state_; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 extern template class WorkerClientsInitializer<WebEmbeddedWorkerImpl>; | 145 extern template class WorkerClientsInitializer<WebEmbeddedWorkerImpl>; |
| 146 | 146 |
| 147 } // namespace blink | 147 } // namespace blink |
| 148 | 148 |
| 149 #endif // WebEmbeddedWorkerImpl_h | 149 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |