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

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

Issue 967493002: DevTools: remove setLastEvaluationResult from the protocol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 5 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 | 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void disable(ErrorString*) override; 49 virtual void disable(ErrorString*) override;
50 bool enabled() { return m_enabled; } 50 bool enabled() { return m_enabled; }
51 51
52 virtual void setFrontend(InspectorFrontend*) override final; 52 virtual void setFrontend(InspectorFrontend*) override final;
53 virtual void clearFrontend() override final; 53 virtual void clearFrontend() override final;
54 virtual void restore() override final; 54 virtual void restore() override final;
55 55
56 void addMessageToConsole(ConsoleMessage*); 56 void addMessageToConsole(ConsoleMessage*);
57 void consoleMessagesCleared(); 57 void consoleMessagesCleared();
58 58
59 virtual void setLastEvaluationResult(ErrorString*, const String& objectId) o verride;
60
61 protected: 59 protected:
62 void sendConsoleMessageToFrontend(ConsoleMessage*, bool generatePreview); 60 void sendConsoleMessageToFrontend(ConsoleMessage*, bool generatePreview);
63 virtual ConsoleMessageStorage* messageStorage() = 0; 61 virtual ConsoleMessageStorage* messageStorage() = 0;
64 62
65 virtual void enableStackCapturingIfNeeded() = 0; 63 virtual void enableStackCapturingIfNeeded() = 0;
66 virtual void disableStackCapturingIfNeeded() = 0; 64 virtual void disableStackCapturingIfNeeded() = 0;
67 65
68 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; 66 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
69 InspectorFrontend::Console* m_frontend; 67 InspectorFrontend::Console* m_frontend;
70 bool m_enabled; 68 bool m_enabled;
71 }; 69 };
72 70
73 } // namespace blink 71 } // namespace blink
74 72
75 73
76 #endif // !defined(InspectorConsoleAgent_h) 74 #endif // !defined(InspectorConsoleAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | Source/core/inspector/InspectorConsoleAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698