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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java

Issue 2542203002: [Android History] Add Android history manager UI and bridge (Closed)
Patch Set: Rebase, drop changes to time.* Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..aa2e3642a5261da9787af858833601b0a461bb02
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java
@@ -0,0 +1,30 @@
+// Copyright 2016 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.chrome.browser.history;
+
+import android.os.Bundle;
+
+import org.chromium.chrome.browser.SynchronousInitializationActivity;
+
+/**
+ * Activity for displaying the browsing history manager.
+ */
+public class HistoryActivity extends SynchronousInitializationActivity {
+ private HistoryManager mHistoryManager;
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ mHistoryManager = new HistoryManager(this);
+ setContentView(mHistoryManager.getView());
+ }
+
+ @Override
+ protected void onDestroy() {
+ mHistoryManager.onDestroyed();
+ super.onDestroy();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698