| Index: chrome/browser/renderer_host/render_view_host.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host.h (revision 10454)
|
| +++ chrome/browser/renderer_host/render_view_host.h (working copy)
|
| @@ -320,6 +320,11 @@
|
| // Must be called before CreateRenderView().
|
| void AllowDOMUIBindings();
|
|
|
| + // Tells the renderer which render view should be inspected by developer
|
| + // tools loaded in it. This method should be called before renderer is
|
| + // created.
|
| + void SetInspectedView(int inspected_process_id, int inspected_view_id);
|
| +
|
| // Sets a property with the given name and value on the DOM UI binding object.
|
| // Must call AllowDOMUIBindings() on this renderer first.
|
| void SetDOMUIProperty(const std::string& name, const std::string& value);
|
| @@ -509,6 +514,8 @@
|
| const std::wstring& source_id);
|
| void OnDebuggerOutput(const std::wstring& output);
|
| void DidDebugAttach();
|
| + void OnForwardToDevToolsAgent(const IPC::Message& message);
|
| + void OnForwardToDevToolsClient(const IPC::Message& message);
|
| void OnUserMetricsRecordAction(const std::wstring& action);
|
| void OnMissingPluginStatus(int status);
|
| void OnMessageReceived(IPC::Message* msg) { }
|
| @@ -613,6 +620,12 @@
|
|
|
| bool are_javascript_messages_suppressed_;
|
|
|
| + // When this renderer hosts developer tools this two fields contain rerndeder
|
| + // process id and render view id of the page being inspected. Both fieldes
|
| + // are -1 if the content of this renderer is not developer tools frontend.
|
| + int inspected_process_id_;
|
| + int inspected_view_id_;
|
| +
|
| DISALLOW_EVIL_CONSTRUCTORS(RenderViewHost);
|
| };
|
|
|
|
|