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

Side by Side Diff: Source/core/inspector/MainThreadDebugger.h

Issue 1225763002: Remove debugger id, use local frame id instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 5 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/core/v8/WindowProxy.cpp ('k') | Source/core/inspector/MainThreadDebugger.cpp » ('j') | 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void quitNow() = 0; 53 virtual void quitNow() = 0;
54 }; 54 };
55 55
56 static PassOwnPtrWillBeRawPtr<MainThreadDebugger> create(PassOwnPtr<ClientMe ssageLoop> clientMessageLoop, v8::Isolate* isolate) 56 static PassOwnPtrWillBeRawPtr<MainThreadDebugger> create(PassOwnPtr<ClientMe ssageLoop> clientMessageLoop, v8::Isolate* isolate)
57 { 57 {
58 return adoptPtrWillBeNoop(new MainThreadDebugger(clientMessageLoop, isol ate)); 58 return adoptPtrWillBeNoop(new MainThreadDebugger(clientMessageLoop, isol ate));
59 } 59 }
60 60
61 ~MainThreadDebugger() override; 61 ~MainThreadDebugger() override;
62 62
63 static void setContextDebugData(v8::Local<v8::Context>, const String& type, int contextDebugId); 63 static void initializeContext(v8::Local<v8::Context>, int worldId);
64 void addListener(ScriptDebugListener*, LocalFrame*, int contextDebugId); 64 void addListener(ScriptDebugListener*, LocalFrame*);
65 void removeListener(ScriptDebugListener*, LocalFrame*); 65 void removeListener(ScriptDebugListener*, LocalFrame*);
66 66
67 static MainThreadDebugger* instance(); 67 static MainThreadDebugger* instance();
68 static void interruptMainThreadAndRun(PassOwnPtr<InspectorTaskRunner::Task>) ; 68 static void interruptMainThreadAndRun(PassOwnPtr<InspectorTaskRunner::Task>) ;
69 InspectorTaskRunner* taskRunner() const { return m_taskRunner.get(); } 69 InspectorTaskRunner* taskRunner() const { return m_taskRunner.get(); }
70 70
71 DECLARE_VIRTUAL_TRACE(); 71 DECLARE_VIRTUAL_TRACE();
72 72
73 private: 73 private:
74 MainThreadDebugger(PassOwnPtr<ClientMessageLoop>, v8::Isolate*); 74 MainThreadDebugger(PassOwnPtr<ClientMessageLoop>, v8::Isolate*);
(...skipping 10 matching lines...) Expand all
85 RawPtrWillBeMember<LocalFrame> m_pausedFrame; 85 RawPtrWillBeMember<LocalFrame> m_pausedFrame;
86 OwnPtr<InspectorTaskRunner> m_taskRunner; 86 OwnPtr<InspectorTaskRunner> m_taskRunner;
87 87
88 static MainThreadDebugger* s_instance; 88 static MainThreadDebugger* s_instance;
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 93
94 #endif // MainThreadDebugger_h 94 #endif // MainThreadDebugger_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.cpp ('k') | Source/core/inspector/MainThreadDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698