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

Unified Diff: sky/viewer/document_view.h

Issue 746713002: Move InspectorBackendMojo out of the blink namespace (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/viewer/document_view.h
diff --git a/sky/viewer/document_view.h b/sky/viewer/document_view.h
index df777d27abcd1fc6222ad51b53bf8f8c66bfbb39..31b4983fedff9755aca60910d9ef8995ccff05c8 100644
--- a/sky/viewer/document_view.h
+++ b/sky/viewer/document_view.h
@@ -31,7 +31,12 @@ class ViewManager;
class View;
}
+namespace inspector {
+class InspectorBackendMojo;
+}
+
namespace sky {
+class InspectorHostImpl;
class ScriptRunner;
class WebLayerTreeViewImpl;
@@ -59,6 +64,8 @@ class DocumentView : public mojo::InterfaceImpl<mojo::Application>,
mojo::Shell* shell() const { return shell_.get(); }
+ void StartDebuggerInspectorBackend();
+
private:
// Application methods:
void AcceptConnection(const mojo::String& requestor_url,
@@ -123,6 +130,8 @@ class DocumentView : public mojo::InterfaceImpl<mojo::Application>,
scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_;
scoped_refptr<base::MessageLoopProxy> compositor_thread_;
scoped_ptr<ScriptRunner> script_runner_;
+ scoped_ptr<InspectorHostImpl> inspector_host_;
+ scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
int debugger_id_;
base::WeakPtrFactory<DocumentView> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698