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

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

Issue 1238103002: [DevTools] Do not report edited resources via Page.getResourceContent. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Nuked concatenated, fixed comments Created 5 years, 4 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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ~PageDebuggerAgent() override; 56 ~PageDebuggerAgent() override;
57 DECLARE_VIRTUAL_TRACE(); 57 DECLARE_VIRTUAL_TRACE();
58 58
59 void enable(ErrorString*) final; 59 void enable(ErrorString*) final;
60 void restore() final; 60 void restore() final;
61 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, bool persistScript, const int* executionContextId, TypeBuilder::OptOutpu t<TypeBuilder::Debugger::ScriptId>*, RefPtr<TypeBuilder::Debugger::ExceptionDeta ils>&) override; 61 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, bool persistScript, const int* executionContextId, TypeBuilder::OptOutpu t<TypeBuilder::Debugger::ScriptId>*, RefPtr<TypeBuilder::Debugger::ExceptionDeta ils>&) override;
62 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, RefPtr< TypeBuilder::Debugger::ExceptionDetails>&) override; 62 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, RefPtr< TypeBuilder::Debugger::ExceptionDetails>&) override;
63 63
64 void didStartProvisionalLoad(LocalFrame*); 64 void didStartProvisionalLoad(LocalFrame*);
65 void didClearDocumentOfWindowObject(LocalFrame*); 65 void didClearDocumentOfWindowObject(LocalFrame*);
66 void didCommitLoadForLocalFrame(LocalFrame*) override;
67 66
68 private: 67 private:
69 // V8DebuggerAgent::Client implemntation. 68 // V8DebuggerAgent::Client implemntation.
70 void startListeningV8Debugger() override; 69 void startListeningV8Debugger() override;
71 void stopListeningV8Debugger() override; 70 void stopListeningV8Debugger() override;
72 void muteConsole() override; 71 void muteConsole() override;
73 void unmuteConsole() override; 72 void unmuteConsole() override;
74 73
75 // InspectorOverlay::Listener implementation. 74 // InspectorOverlay::Listener implementation.
76 void overlayResumed() override; 75 void overlayResumed() override;
77 void overlaySteppedOver() override; 76 void overlaySteppedOver() override;
78 77
79 InjectedScript defaultInjectedScript() override; 78 InjectedScript defaultInjectedScript() override;
80 bool canExecuteScripts() const; 79 bool canExecuteScripts() const;
81 80
82 PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptMa nager*, InspectorOverlay*); 81 PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptMa nager*, InspectorOverlay*);
83 MainThreadDebugger* m_mainThreadDebugger; 82 MainThreadDebugger* m_mainThreadDebugger;
84 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 83 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
85 RawPtrWillBeMember<InspectorOverlay> m_overlay; 84 RawPtrWillBeMember<InspectorOverlay> m_overlay;
86 HashMap<String, String> m_compiledScriptURLs; 85 HashMap<String, String> m_compiledScriptURLs;
87 }; 86 };
88 87
89 } // namespace blink 88 } // namespace blink
90 89
91 90
92 #endif // !defined(PageDebuggerAgent_h) 91 #endif // !defined(PageDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698