| Index: content/public/browser/render_frame_host.h
|
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
|
| index 2b0c5dddeac09fdeec9a943b7ce64519aa5f3a2d..cc02139fe920fe6821d9b29fe0bb5b6c03c8b388 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/callback_forward.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/platform/WebPageVisibilityState.h"
|
| @@ -67,6 +68,10 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| // Returns the associated widget's native view.
|
| virtual gfx::NativeView GetNativeView() = 0;
|
|
|
| + // Adds |message| to the DevTools console.
|
| + virtual void AddMessageToConsole(ConsoleMessageLevel level,
|
| + const std::string& message) = 0;
|
| +
|
| // Runs some JavaScript in this frame's context. If a callback is provided, it
|
| // will be used to return the result, when the result is available.
|
| typedef base::Callback<void(const base::Value*)> JavaScriptResultCallback;
|
|
|