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

Unified Diff: content/public/renderer/render_frame.h

Issue 1200503002: [Extensions] Kill off ExtensionMsg_AddMessageToConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index e8f11ed02bbb500c62994bc13b57175639e57b36..68da7d95e1dd87473fd01061862b3bf926ea63b7 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
+#include "content/public/common/console_message_level.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "third_party/WebKit/public/web/WebNavigationPolicy.h"
@@ -143,6 +144,10 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
v8::Isolate* isolate,
v8::Local<v8::Context> context) = 0;
+ // Adds |message| to the DevTools console.
+ virtual void AddMessageToConsole(ConsoleMessageLevel level,
+ const std::string& message) = 0;
+
protected:
~RenderFrame() override {}

Powered by Google App Engine
This is Rietveld 408576698