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

Side by Side Diff: services/sky_packaged_app_viewer/content_handler_impl.h

Issue 1085853002: Introduce Sky packaged apps. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to qsr's review Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKY_VIEWER_CONTENT_HANDLER_IMPL_H_ 5 #ifndef SKY_PACKAGED_APP_VIEWER_CONTENT_HANDLER_IMPL_H_
6 #define SKY_VIEWER_CONTENT_HANDLER_IMPL_H_ 6 #define SKY_PACKAGED_APP_VIEWER_CONTENT_HANDLER_IMPL_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 9 #include "mojo/public/cpp/bindings/strong_binding.h"
10 #include "mojo/public/interfaces/application/shell.mojom.h"
11 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom. h" 10 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom. h"
12 11
13 namespace sky { 12 namespace sky_packaged_app_viewer {
14 class DocumentView;
15 13
16 class ContentHandlerImpl : public mojo::ContentHandler { 14 class ContentHandlerImpl : public mojo::ContentHandler {
17 public: 15 public:
18 explicit ContentHandlerImpl( 16 explicit ContentHandlerImpl(
19 mojo::InterfaceRequest<mojo::ContentHandler> request); 17 mojo::InterfaceRequest<mojo::ContentHandler> request);
20 ~ContentHandlerImpl() override; 18 ~ContentHandlerImpl() override;
21 19
22 private: 20 private:
23 // Overridden from ContentHandler: 21 // Overridden from ContentHandler:
24 void StartApplication(mojo::InterfaceRequest<mojo::Application> application, 22 void StartApplication(mojo::InterfaceRequest<mojo::Application> application,
25 mojo::URLResponsePtr response) override; 23 mojo::URLResponsePtr response) override;
26 24
27 mojo::StrongBinding<mojo::ContentHandler> binding_; 25 mojo::StrongBinding<mojo::ContentHandler> binding_;
28 DISALLOW_COPY_AND_ASSIGN(ContentHandlerImpl); 26 DISALLOW_COPY_AND_ASSIGN(ContentHandlerImpl);
29 }; 27 };
30 28
31 } // namespace sky 29 } // namespace sky_packaged_app_viewer
32 30
33 #endif // SKY_VIEWER_CONTENT_HANDLER_IMPL_H_ 31 #endif // SKY_PACKAGED_APP_VIEWER_CONTENT_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « services/sky_packaged_app_viewer/BUILD.gn ('k') | services/sky_packaged_app_viewer/content_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698