OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // WebFrameClient methods to support resource loading thru the 'shadow page'
. | 92 // WebFrameClient methods to support resource loading thru the 'shadow page'
. |
93 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) OVERRIDE; | 93 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) OVERRIDE; |
94 virtual void didFinishDocumentLoad(WebLocalFrame*) OVERRIDE; | 94 virtual void didFinishDocumentLoad(WebLocalFrame*) OVERRIDE; |
95 | 95 |
96 // WebDevToolsAgentClient overrides. | 96 // WebDevToolsAgentClient overrides. |
97 virtual void sendMessageToInspectorFrontend(const WebString&) OVERRIDE; | 97 virtual void sendMessageToInspectorFrontend(const WebString&) OVERRIDE; |
98 virtual void saveAgentRuntimeState(const WebString&) OVERRIDE; | 98 virtual void saveAgentRuntimeState(const WebString&) OVERRIDE; |
99 virtual void resumeStartup() OVERRIDE; | 99 virtual void resumeStartup() OVERRIDE; |
100 | 100 |
101 // WebSharedWorker methods: | 101 // WebSharedWorker methods: |
102 virtual void startWorkerContext(const WebURL&, const WebString& name, const
WebString& contentSecurityPolicy, WebContentSecurityPolicyType) OVERRIDE; | 102 virtual void startWorkerContext(const WebURL&, const WebString& name, const
WebString& contentSecurityPolicy, WebContentSecurityPolicyType, const WebString&
acceptLanguages) OVERRIDE; |
103 virtual void connect(WebMessagePortChannel*) OVERRIDE; | 103 virtual void connect(WebMessagePortChannel*) OVERRIDE; |
104 virtual void terminateWorkerContext() OVERRIDE; | 104 virtual void terminateWorkerContext() OVERRIDE; |
105 virtual void clientDestroyed() OVERRIDE; | 105 virtual void clientDestroyed() OVERRIDE; |
106 | 106 |
107 virtual void pauseWorkerContextOnStart() OVERRIDE; | 107 virtual void pauseWorkerContextOnStart() OVERRIDE; |
108 virtual void resumeWorkerContext() OVERRIDE; | 108 virtual void resumeWorkerContext() OVERRIDE; |
109 virtual void attachDevTools(const WebString& hostId) OVERRIDE; | 109 virtual void attachDevTools(const WebString& hostId) OVERRIDE; |
110 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) OVERRIDE; | 110 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) OVERRIDE; |
111 virtual void detachDevTools() OVERRIDE; | 111 virtual void detachDevTools() OVERRIDE; |
112 virtual void dispatchDevToolsMessage(const WebString&) OVERRIDE; | 112 virtual void dispatchDevToolsMessage(const WebString&) OVERRIDE; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 bool m_pauseWorkerContextOnStart; | 159 bool m_pauseWorkerContextOnStart; |
160 bool m_isPausedOnStart; | 160 bool m_isPausedOnStart; |
161 | 161 |
162 // Kept around only while main script loading is ongoing. | 162 // Kept around only while main script loading is ongoing. |
163 OwnPtr<Loader> m_mainScriptLoader; | 163 OwnPtr<Loader> m_mainScriptLoader; |
164 WebURL m_url; | 164 WebURL m_url; |
165 WebString m_name; | 165 WebString m_name; |
166 WebString m_contentSecurityPolicy; | 166 WebString m_contentSecurityPolicy; |
167 WebContentSecurityPolicyType m_policyType; | 167 WebContentSecurityPolicyType m_policyType; |
| 168 WebString m_acceptLanguages; |
168 }; | 169 }; |
169 | 170 |
170 } // namespace blink | 171 } // namespace blink |
171 | 172 |
172 #endif | 173 #endif |
OLD | NEW |