root/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. openProtectedContentSettings
  2. showSyncSettings
  3. showTermsOfServiceDialog
  4. areParentalControlsEnabled
  5. getPKCS11AuthenticationManager

// Copyright 2013 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;

import org.chromium.base.CalledByNative;
import org.chromium.content.app.ContentApplication;

/**
 * Basic application functionality that should be shared among all browser applications that use
 * chrome layer.
 */
public abstract class ChromiumApplication extends ContentApplication {
    /**
     * Opens a protected content settings page, if available.
     */
    @CalledByNative
    protected abstract void openProtectedContentSettings();

    @CalledByNative
    protected abstract void showSyncSettings();

    @CalledByNative
    protected abstract void showTermsOfServiceDialog();

    /**
     * @return Whether parental controls are enabled.  Returning true will disable
     *         incognito mode.
     */
    @CalledByNative
    protected abstract boolean areParentalControlsEnabled();

    // TODO(yfriedman): This is too widely available. Plumb this through ChromeNetworkDelegate
    // instead.
    protected abstract PKCS11AuthenticationManager getPKCS11AuthenticationManager();
}

/* [<][>][^][v][top][bottom][index][help] */