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

Side by Side Diff: Source/bindings/v8/WorkerScriptDebugServer.h

Issue 137603004: Update more bindings classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/bindings/v8/V8AbstractEventListener.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 Google Inc. All rights reserved. 2 * Copyright (c) 2011 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 28 matching lines...) Expand all
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class WorkerGlobalScope; 42 class WorkerGlobalScope;
43 class WorkerThread; 43 class WorkerThread;
44 44
45 class WorkerScriptDebugServer FINAL : public ScriptDebugServer { 45 class WorkerScriptDebugServer FINAL : public ScriptDebugServer {
46 WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer); 46 WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer);
47 public: 47 public:
48 WorkerScriptDebugServer(WorkerGlobalScope*, const String&); 48 WorkerScriptDebugServer(WorkerGlobalScope*, const String&);
49 ~WorkerScriptDebugServer() { } 49 virtual ~WorkerScriptDebugServer() { }
50 50
51 void addListener(ScriptDebugListener*); 51 void addListener(ScriptDebugListener*);
52 void removeListener(ScriptDebugListener*); 52 void removeListener(ScriptDebugListener*);
53 53
54 void interruptAndRunTask(PassOwnPtr<Task>); 54 void interruptAndRunTask(PassOwnPtr<Task>);
55 55
56 private: 56 private:
57 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) OVERRIDE; 57 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) OVERRIDE;
58 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) OVERRIDE; 58 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) OVERRIDE;
59 virtual void quitMessageLoopOnPause() OVERRIDE; 59 virtual void quitMessageLoopOnPause() OVERRIDE;
60 60
61 typedef HashMap<WorkerGlobalScope*, ScriptDebugListener*> ListenersMap; 61 typedef HashMap<WorkerGlobalScope*, ScriptDebugListener*> ListenersMap;
62 ScriptDebugListener* m_listener; 62 ScriptDebugListener* m_listener;
63 WorkerGlobalScope* m_workerGlobalScope; 63 WorkerGlobalScope* m_workerGlobalScope;
64 String m_debuggerTaskMode; 64 String m_debuggerTaskMode;
65 }; 65 };
66 66
67 } // namespace WebCore 67 } // namespace WebCore
68 68
69 #endif // WorkerScriptDebugServer_h 69 #endif // WorkerScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8AbstractEventListener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698