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

Side by Side Diff: examples/png_viewer/png_viewer.cc

Issue 832933006: Remove the media viewer component. (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 unified diff | Download patch
« no previous file with comments | « examples/png_viewer/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/string_tokenizer.h" 10 #include "base/strings/string_tokenizer.h"
11 #include "examples/bitmap_uploader/bitmap_uploader.h" 11 #include "examples/bitmap_uploader/bitmap_uploader.h"
12 #include "examples/media_viewer/media_viewer.mojom.h"
13 #include "mojo/application/application_runner_chromium.h" 12 #include "mojo/application/application_runner_chromium.h"
14 #include "mojo/application/content_handler_factory.h" 13 #include "mojo/application/content_handler_factory.h"
15 #include "mojo/public/c/system/main.h" 14 #include "mojo/public/c/system/main.h"
16 #include "mojo/public/cpp/application/application_connection.h" 15 #include "mojo/public/cpp/application/application_connection.h"
17 #include "mojo/public/cpp/application/application_delegate.h" 16 #include "mojo/public/cpp/application/application_delegate.h"
18 #include "mojo/public/cpp/application/application_impl.h" 17 #include "mojo/public/cpp/application/application_impl.h"
19 #include "mojo/public/cpp/application/interface_factory_impl.h" 18 #include "mojo/public/cpp/application/interface_factory_impl.h"
20 #include "mojo/public/cpp/application/service_provider_impl.h" 19 #include "mojo/public/cpp/application/service_provider_impl.h"
21 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom. h" 20 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom. h"
22 #include "mojo/services/view_manager/public/cpp/types.h" 21 #include "mojo/services/view_manager/public/cpp/types.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 DISALLOW_COPY_AND_ASSIGN(PNGViewer); 220 DISALLOW_COPY_AND_ASSIGN(PNGViewer);
222 }; 221 };
223 222
224 } // namespace examples 223 } // namespace examples
225 } // namespace mojo 224 } // namespace mojo
226 225
227 MojoResult MojoMain(MojoHandle shell_handle) { 226 MojoResult MojoMain(MojoHandle shell_handle) {
228 mojo::ApplicationRunnerChromium runner(new mojo::examples::PNGViewer()); 227 mojo::ApplicationRunnerChromium runner(new mojo::examples::PNGViewer());
229 return runner.Run(shell_handle); 228 return runner.Run(shell_handle);
230 } 229 }
OLDNEW
« no previous file with comments | « examples/png_viewer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698