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 #ifndef CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_
10 #include "base/basictypes.h"
19 // Represents Android Chrome Application. This is a singleton and
20 // provides functions to request browser side actions, such as opening a
22 class ChromeApplication
{
24 static bool RegisterBindings(JNIEnv
* env
);
26 // Opens the autofill settings page.
27 static void ShowAutofillSettings();
29 // Opens the password settings page.
30 static void ShowPasswordSettings();
32 // Open the clear browsing data UI.
33 static void OpenClearBrowsingData(content::WebContents
* web_contents
);
35 // Determines whether parental controls are enabled.
36 static bool AreParentalControlsEnabled();
39 ChromeApplication() {}
40 ~ChromeApplication() {}
42 DISALLOW_COPY_AND_ASSIGN(ChromeApplication
);
45 } // namespace android
48 #endif // CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_