OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chrome.browser.history; |
| 6 |
| 7 import android.os.Bundle; |
| 8 |
| 9 import org.chromium.chrome.browser.SynchronousInitializationActivity; |
| 10 |
| 11 /** |
| 12 * Activity for displaying the browsing history manager. |
| 13 */ |
| 14 public class HistoryActivity extends SynchronousInitializationActivity { |
| 15 private HistoryManager mHistoryManager; |
| 16 |
| 17 @Override |
| 18 public void onCreate(Bundle savedInstanceState) { |
| 19 super.onCreate(savedInstanceState); |
| 20 |
| 21 mHistoryManager = new HistoryManager(this); |
| 22 setContentView(mHistoryManager.getView()); |
| 23 } |
| 24 |
| 25 @Override |
| 26 protected void onDestroy() { |
| 27 mHistoryManager.onDestroyed(); |
| 28 super.onDestroy(); |
| 29 } |
| 30 } |
OLD | NEW |