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
3 // found in the LICENSE file.
5 package org.chromium.chrome.browser;
7 import org.chromium.base.CalledByNative;
8 import org.chromium.content.app.ContentApplication;
11 * Basic application functionality that should be shared among all browser applications that use
14 public abstract class ChromiumApplication extends ContentApplication {
16 * Opens a protected content settings page, if available.
19 protected abstract void openProtectedContentSettings();
22 protected abstract void showSyncSettings();
25 protected abstract void showAutofillSettings();
28 protected abstract void showTermsOfServiceDialog();
31 * Opens the UI to clear browsing data.
32 * @param tab The tab that triggered the request.
35 protected abstract void openClearBrowsingData(Tab tab);
38 * @return Whether parental controls are enabled. Returning true will disable
42 protected abstract boolean areParentalControlsEnabled();
44 // TODO(yfriedman): This is too widely available. Plumb this through ChromeNetworkDelegate
46 protected abstract PKCS11AuthenticationManager getPKCS11AuthenticationManager();