OLD | NEW |
1 // Copyright 2015 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 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/callback.h" | 6 #include "base/callback.h" |
7 #include "base/containers/hash_tables.h" | 7 #include "base/containers/hash_tables.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "components/view_manager/public/cpp/types.h" | 9 #include "components/mus/public/cpp/types.h" |
10 #include "components/view_manager/public/cpp/view.h" | 10 #include "components/mus/public/cpp/view.h" |
11 #include "components/view_manager/public/cpp/view_observer.h" | 11 #include "components/mus/public/cpp/view_observer.h" |
12 #include "components/view_manager/public/cpp/view_surface.h" | 12 #include "components/mus/public/cpp/view_surface.h" |
13 #include "components/view_manager/public/cpp/view_tree_connection.h" | 13 #include "components/mus/public/cpp/view_tree_connection.h" |
14 #include "components/view_manager/public/cpp/view_tree_delegate.h" | 14 #include "components/mus/public/cpp/view_tree_delegate.h" |
15 #include "components/view_manager/public/interfaces/compositor_frame.mojom.h" | 15 #include "components/mus/public/interfaces/compositor_frame.mojom.h" |
16 #include "components/view_manager/public/interfaces/gpu.mojom.h" | 16 #include "components/mus/public/interfaces/gpu.mojom.h" |
17 #include "components/view_manager/public/interfaces/surface_id.mojom.h" | 17 #include "components/mus/public/interfaces/surface_id.mojom.h" |
18 #include "gpu/GLES2/gl2chromium.h" | 18 #include "gpu/GLES2/gl2chromium.h" |
19 #include "gpu/GLES2/gl2extchromium.h" | 19 #include "gpu/GLES2/gl2extchromium.h" |
20 #include "mojo/application/public/cpp/application_connection.h" | 20 #include "mojo/application/public/cpp/application_connection.h" |
21 #include "mojo/application/public/cpp/application_delegate.h" | 21 #include "mojo/application/public/cpp/application_delegate.h" |
22 #include "mojo/application/public/cpp/application_impl.h" | 22 #include "mojo/application/public/cpp/application_impl.h" |
23 #include "mojo/application/public/cpp/application_runner.h" | 23 #include "mojo/application/public/cpp/application_runner.h" |
24 #include "mojo/application/public/cpp/connect.h" | 24 #include "mojo/application/public/cpp/connect.h" |
25 #include "mojo/application/public/cpp/content_handler_factory.h" | 25 #include "mojo/application/public/cpp/content_handler_factory.h" |
26 #include "mojo/application/public/cpp/interface_factory_impl.h" | 26 #include "mojo/application/public/cpp/interface_factory_impl.h" |
27 #include "mojo/application/public/cpp/service_provider_impl.h" | 27 #include "mojo/application/public/cpp/service_provider_impl.h" |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 DISALLOW_COPY_AND_ASSIGN(PDFViewer); | 515 DISALLOW_COPY_AND_ASSIGN(PDFViewer); |
516 }; | 516 }; |
517 | 517 |
518 } // namespace | 518 } // namespace |
519 } // namespace pdf_viewer | 519 } // namespace pdf_viewer |
520 | 520 |
521 MojoResult MojoMain(MojoHandle application_request) { | 521 MojoResult MojoMain(MojoHandle application_request) { |
522 mojo::ApplicationRunner runner(new pdf_viewer::PDFViewer()); | 522 mojo::ApplicationRunner runner(new pdf_viewer::PDFViewer()); |
523 return runner.Run(application_request); | 523 return runner.Run(application_request); |
524 } | 524 } |
OLD | NEW |