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

Side by Side Diff: shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.mojo_shell_apk; 5 package org.chromium.mojo_shell_apk;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 import android.app.AlertDialog; 8 import android.app.AlertDialog;
9 import android.content.DialogInterface; 9 import android.content.DialogInterface;
10 import android.content.Intent; 10 import android.content.Intent;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // activity. If the application process is kept alive, initialization pa rameters sent with 57 // activity. If the application process is kept alive, initialization pa rameters sent with
58 // the intent will be stale. 58 // the intent will be stale.
59 // TODO(qsr): We should be passing application context here as required by 59 // TODO(qsr): We should be passing application context here as required by
60 // InitApplicationContext on the native side. Currently we can't, as Pla tformViewportAndroid 60 // InitApplicationContext on the native side. Currently we can't, as Pla tformViewportAndroid
61 // relies on this being the activity context. 61 // relies on this being the activity context.
62 MojoMain.ensureInitialized(this, getParametersFromIntent(getIntent())); 62 MojoMain.ensureInitialized(this, getParametersFromIntent(getIntent()));
63 MojoMain.start(url); 63 MojoMain.start(url);
64 Log.i(TAG, "Mojo started: " + url); 64 Log.i(TAG, "Mojo started: " + url);
65 } 65 }
66 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698