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

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

Issue 128973003: Update bindings classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
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 24 matching lines...) Expand all
35 35
36 namespace v8 { 36 namespace v8 {
37 class Isolate; 37 class Isolate;
38 } 38 }
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 : 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 ~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>); 57 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) OVERRIDE;
58 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>); 58 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) OVERRIDE;
59 virtual void quitMessageLoopOnPause(); 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/V8WorkerGlobalScopeEventListener.h ('k') | Source/bindings/v8/custom/V8ArrayBufferCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698