Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Side by Side Diff: Source/WebCore/workers/WorkerContextProxy.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void startWorkerContext(const KURL& scriptURL, const String& use rAgent, const String& sourceCode, WorkerThreadStartMode) = 0; 53 virtual void startWorkerContext(const KURL& scriptURL, const String& use rAgent, const String& sourceCode, WorkerThreadStartMode) = 0;
54 54
55 virtual void terminateWorkerContext() = 0; 55 virtual void terminateWorkerContext() = 0;
56 56
57 virtual void postMessageToWorkerContext(PassRefPtr<SerializedScriptValue >, PassOwnPtr<MessagePortChannelArray>) = 0; 57 virtual void postMessageToWorkerContext(PassRefPtr<SerializedScriptValue >, PassOwnPtr<MessagePortChannelArray>) = 0;
58 58
59 virtual bool hasPendingActivity() const = 0; 59 virtual bool hasPendingActivity() const = 0;
60 60
61 virtual void workerObjectDestroyed() = 0; 61 virtual void workerObjectDestroyed() = 0;
62 62
63 #if ENABLE(INSPECTOR)
64 class PageInspector { 63 class PageInspector {
65 public: 64 public:
66 virtual ~PageInspector() { } 65 virtual ~PageInspector() { }
67 virtual void dispatchMessageFromWorker(const String&) = 0; 66 virtual void dispatchMessageFromWorker(const String&) = 0;
68 }; 67 };
69 virtual void connectToInspector(PageInspector*) { } 68 virtual void connectToInspector(PageInspector*) { }
70 virtual void disconnectFromInspector() { } 69 virtual void disconnectFromInspector() { }
71 virtual void sendMessageToInspector(const String&) { } 70 virtual void sendMessageToInspector(const String&) { }
72 #endif
73 }; 71 };
74 72
75 } // namespace WebCore 73 } // namespace WebCore
76 74
77 #endif // ENABLE(WORKERS) 75 #endif // ENABLE(WORKERS)
78 76
79 #endif // WorkerContextProxy_h 77 #endif // WorkerContextProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698