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

Unified Diff: mojo/application/application_runner_chromium.h

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, 9 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
« no previous file with comments | « examples/wm_flow/wm/wm.cc ('k') | mojo/public/cpp/application/application_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application/application_runner_chromium.h
diff --git a/mojo/application/application_runner_chromium.h b/mojo/application/application_runner_chromium.h
index 86713427289d65510e7ddad089cafe98489a9971..c1639a9f2c9f76ccffc660f8a01583e38cc1916b 100644
--- a/mojo/application/application_runner_chromium.h
+++ b/mojo/application/application_runner_chromium.h
@@ -16,9 +16,9 @@ class ApplicationDelegate;
// A utility for running a chromium based mojo Application. The typical use
// case is to use when writing your MojoMain:
//
-// MojoResult MojoMain(MojoHandle shell_handle) {
+// MojoResult MojoMain(MojoHandle application_request) {
// mojo::ApplicationRunnerChromium runner(new MyDelegate());
-// return runner.Run(shell_handle);
+// return runner.Run(application_request);
// }
//
// ApplicationRunnerChromium takes care of chromium environment initialization
@@ -35,7 +35,7 @@ class ApplicationRunnerChromium {
// Once the various parameters have been set above, use Run to initialize an
// ApplicationImpl wired to the provided delegate, and run a MessageLoop until
// the application exits.
- MojoResult Run(MojoHandle shell_handle);
+ MojoResult Run(MojoHandle application_request);
private:
scoped_ptr<ApplicationDelegate> delegate_;
« no previous file with comments | « examples/wm_flow/wm/wm.cc ('k') | mojo/public/cpp/application/application_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698