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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h

Issue 1812983002: [DevTools] Move evaluate from InjectedScriptSource.js to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-evaluate-on-call-frame
Patch Set: Removed _callFrameForId Created 4 years, 9 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class InjectedScriptManager { 48 class InjectedScriptManager {
49 PROTOCOL_DISALLOW_COPY(InjectedScriptManager); 49 PROTOCOL_DISALLOW_COPY(InjectedScriptManager);
50 public: 50 public:
51 static PassOwnPtr<InjectedScriptManager> create(V8DebuggerImpl*); 51 static PassOwnPtr<InjectedScriptManager> create(V8DebuggerImpl*);
52 ~InjectedScriptManager(); 52 ~InjectedScriptManager();
53 53
54 InjectedScriptHost* injectedScriptHost(); 54 InjectedScriptHost* injectedScriptHost();
55 V8DebuggerImpl* debugger() { return m_debugger; } 55 V8DebuggerImpl* debugger() { return m_debugger; }
56 56
57 InjectedScript* injectedScriptFor(v8::Local<v8::Context>); 57 InjectedScript* injectedScriptFor(v8::Local<v8::Context>);
58 InjectedScript* findInjectedScript(int) const; 58 InjectedScript* findInjectedScript(ErrorString*, int) const;
59 InjectedScript* findInjectedScript(ErrorString*, RemoteObjectIdBase*) const; 59 InjectedScript* findInjectedScript(ErrorString*, RemoteObjectIdBase*) const;
60 void discardInjectedScripts(); 60 void discardInjectedScripts();
61 int discardInjectedScriptFor(v8::Local<v8::Context>); 61 int discardInjectedScriptFor(v8::Local<v8::Context>);
62 void discardInjectedScript(int); 62 void discardInjectedScript(int);
63 void releaseObjectGroup(const String16& objectGroup); 63 void releaseObjectGroup(const String16& objectGroup);
64 void setCustomObjectFormatterEnabled(bool); 64 void setCustomObjectFormatterEnabled(bool);
65 65
66 class ScopedGlobalObjectExtension { 66 class ScopedGlobalObjectExtension {
67 PROTOCOL_DISALLOW_COPY(ScopedGlobalObjectExtension); 67 PROTOCOL_DISALLOW_COPY(ScopedGlobalObjectExtension);
68 public: 68 public:
(...skipping 16 matching lines...) Expand all
85 typedef protocol::HashMap<int, OwnPtr<InjectedScript>> IdToInjectedScriptMap ; 85 typedef protocol::HashMap<int, OwnPtr<InjectedScript>> IdToInjectedScriptMap ;
86 IdToInjectedScriptMap m_idToInjectedScript; 86 IdToInjectedScriptMap m_idToInjectedScript;
87 OwnPtr<InjectedScriptHost> m_injectedScriptHost; 87 OwnPtr<InjectedScriptHost> m_injectedScriptHost;
88 bool m_customObjectFormatterEnabled; 88 bool m_customObjectFormatterEnabled;
89 V8DebuggerImpl* m_debugger; 89 V8DebuggerImpl* m_debugger;
90 }; 90 };
91 91
92 } // namespace blink 92 } // namespace blink
93 93
94 #endif // !defined(InjectedScriptManager_h) 94 #endif // !defined(InjectedScriptManager_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698