| 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebSharedWorker_h | 31 #ifndef WebSharedWorker_h |
| 32 #define WebSharedWorker_h | 32 #define WebSharedWorker_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "WebContentSecurityPolicy.h" | 35 #include "WebContentSecurityPolicy.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 class ScriptExecutionContext; | 38 class ScriptExecutionContext; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace WebKit { | 41 namespace blink { |
| 42 | 42 |
| 43 class WebString; | 43 class WebString; |
| 44 class WebMessagePortChannel; | 44 class WebMessagePortChannel; |
| 45 class WebSharedWorkerClient; | 45 class WebSharedWorkerClient; |
| 46 class WebURL; | 46 class WebURL; |
| 47 | 47 |
| 48 // This is the interface to a SharedWorker thread. | 48 // This is the interface to a SharedWorker thread. |
| 49 // Since SharedWorkers communicate entirely through MessagePorts this interface
only contains APIs for starting up a SharedWorker. | 49 // Since SharedWorkers communicate entirely through MessagePorts this interface
only contains APIs for starting up a SharedWorker. |
| 50 class WebSharedWorker { | 50 class WebSharedWorker { |
| 51 public: | 51 public: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 82 virtual void clientDestroyed() = 0; | 82 virtual void clientDestroyed() = 0; |
| 83 | 83 |
| 84 virtual void pauseWorkerContextOnStart() { } | 84 virtual void pauseWorkerContextOnStart() { } |
| 85 virtual void resumeWorkerContext() { } | 85 virtual void resumeWorkerContext() { } |
| 86 virtual void attachDevTools() { } | 86 virtual void attachDevTools() { } |
| 87 virtual void reattachDevTools(const WebString& savedState) { } | 87 virtual void reattachDevTools(const WebString& savedState) { } |
| 88 virtual void detachDevTools() { } | 88 virtual void detachDevTools() { } |
| 89 virtual void dispatchDevToolsMessage(const WebString&) { } | 89 virtual void dispatchDevToolsMessage(const WebString&) { } |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace WebKit | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif | 94 #endif |
| OLD | NEW |