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

Unified Diff: sky/viewer/content_handler_impl.h

Issue 687273002: mojo: Update content handler API (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename content_handler.h Created 6 years, 2 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: sky/viewer/content_handler_impl.h
diff --git a/sky/viewer/content_handler_impl.h b/sky/viewer/content_handler_impl.h
index 3bd4043b7c73a3dc17dd625fefe829871635b75f..2bffcc8f3ee7eb39761166c7032c7a609f280035 100644
--- a/sky/viewer/content_handler_impl.h
+++ b/sky/viewer/content_handler_impl.h
@@ -14,19 +14,14 @@ class DocumentView;
class ContentHandlerImpl : public mojo::InterfaceImpl<mojo::ContentHandler> {
public:
- ContentHandlerImpl(mojo::Shell* shell,
- scoped_refptr<base::MessageLoopProxy> compositor_thread);
+ ContentHandlerImpl(scoped_refptr<base::MessageLoopProxy> compositor_thread);
virtual ~ContentHandlerImpl();
private:
// Overridden from ContentHandler:
- virtual void OnConnect(
- const mojo::String& url,
- mojo::URLResponsePtr response,
- mojo::InterfaceRequest<mojo::ServiceProvider>
- servive_provider_request) override;
+ virtual void StartApplication(mojo::ShellPtr shell,
+ mojo::URLResponsePtr response) override;
- mojo::Shell* shell_;
scoped_refptr<base::MessageLoopProxy> compositor_thread_;
DISALLOW_COPY_AND_ASSIGN(ContentHandlerImpl);

Powered by Google App Engine
This is Rietveld 408576698