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

Unified Diff: sky/tools/debugger/debugger.h

Issue 845103004: Mojo JS Bindings: add show_image example (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_js_generator.py ('k') | sky/tools/debugger/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/debugger/debugger.h
diff --git a/sky/tools/debugger/debugger.h b/sky/tools/debugger/debugger.h
index 69e564ba268177d30e550f5b1f9db055c0c80970..9aa5b2faf6768277aa8042ff4fb2be3e7ff6d827 100644
--- a/sky/tools/debugger/debugger.h
+++ b/sky/tools/debugger/debugger.h
@@ -25,7 +25,8 @@ class SkyDebugger : public mojo::ApplicationDelegate,
public mojo::ViewManagerDelegate,
public mojo::ViewObserver,
public mojo::InterfaceFactory<Debugger>,
- public mojo::InterfaceImpl<Debugger> {
+ public mojo::InterfaceImpl<Debugger>,
+ public window_manager::WindowManagerDelegate {
public:
SkyDebugger();
virtual ~SkyDebugger();
@@ -61,6 +62,11 @@ class SkyDebugger : public mojo::ApplicationDelegate,
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<Debugger> request) override;
+ // Overridden from WindowManagerDelegate
+ void Embed(
+ const mojo::String& url,
+ mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) override;
+
scoped_ptr<window_manager::WindowManagerApp> window_manager_app_;
mojo::View* root_;
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_js_generator.py ('k') | sky/tools/debugger/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698