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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Called on the main webkit thread in the worker process during | 62 // Called on the main webkit thread in the worker process during |
63 // initialization. | 63 // initialization. |
64 // WebWorkerPermissionClientProxy should not retain the given | 64 // WebWorkerPermissionClientProxy should not retain the given |
65 // WebSecurityOrigin, as the proxy instance is passed to worker thread | 65 // WebSecurityOrigin, as the proxy instance is passed to worker thread |
66 // while WebSecurityOrigin is not thread safe. | 66 // while WebSecurityOrigin is not thread safe. |
67 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(co
nst WebSecurityOrigin&) { return 0; } | 67 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(co
nst WebSecurityOrigin&) { return 0; } |
68 | 68 |
69 virtual void dispatchDevToolsMessage(const WebString&) { } | 69 virtual void dispatchDevToolsMessage(const WebString&) { } |
70 virtual void saveDevToolsAgentState(const WebString&) { } | 70 virtual void saveDevToolsAgentState(const WebString&) { } |
| 71 virtual void workerScriptLoaded() { } |
| 72 virtual void workerScriptLoadFailed() { } |
| 73 virtual void selectAppCacheID(long long appCacheID) { } |
71 | 74 |
72 protected: | 75 protected: |
73 ~WebSharedWorkerClient() { } | 76 ~WebSharedWorkerClient() { } |
74 }; | 77 }; |
75 | 78 |
76 } // namespace blink | 79 } // namespace blink |
77 | 80 |
78 #endif | 81 #endif |
OLD | NEW |