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

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

Issue 1058163002: Replaces |shell_handle| with |application_request| as the name of the parameter to MojoMain(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 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"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 217
218 ContentHandlerFactory content_handler_factory_; 218 ContentHandlerFactory content_handler_factory_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(PNGViewer); 220 DISALLOW_COPY_AND_ASSIGN(PNGViewer);
221 }; 221 };
222 222
223 } // namespace examples 223 } // namespace examples
224 } // namespace mojo 224 } // namespace mojo
225 225
226 MojoResult MojoMain(MojoHandle shell_handle) { 226 MojoResult MojoMain(MojoHandle application_request) {
227 mojo::ApplicationRunnerChromium runner(new mojo::examples::PNGViewer()); 227 mojo::ApplicationRunnerChromium runner(new mojo::examples::PNGViewer());
228 return runner.Run(shell_handle); 228 return runner.Run(application_request);
229 } 229 }
OLDNEW
« no previous file with comments | « examples/pdf_viewer/pdf_viewer.cc ('k') | examples/recursive_content_handler/recursive_content_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698