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

Unified Diff: content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java

Issue 9860032: Add skeleton of content shell for android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « content/shell/android/content_shell_apk.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java
diff --git a/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java b/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..4a57e9cfaee4dc1108ef0f53901c62910f4c0c3d
--- /dev/null
+++ b/content/shell/android/java/org/chromium/content_shell/ContentShellActivity.java
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.content_shell;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.util.Log;
+
+/**
+ * This is the main activity for content_shell on android, gets invoked when the
+ * app is invoked from the launcher. This activity hosts the main UI for content
+ * shell and displays the web content via its child views.
+ */
+public class ContentShellActivity extends Activity {
+ private final String TAG = "ContentShellActivity";
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ Log.i(TAG, "Content shell started");
+ }
+}
« no previous file with comments | « content/shell/android/content_shell_apk.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698