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

Side by Side Diff: chrome/browser/android/chrome_application.h

Issue 2763133002: Move showAutofillSettings to PreferencesLauncher. (Closed)
Patch Set: Move settings @CalledByNative functions to PreferencesLauncher. Created 3 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/chrome_application.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_ 5 #ifndef CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_ 6 #define CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace content { 12 namespace content {
13 class WebContents; 13 class WebContents;
14 } 14 }
15 15
16 namespace chrome { 16 namespace chrome {
17 namespace android { 17 namespace android {
18 18
19 // Represents Android Chrome Application. This is a singleton and 19 // Represents Android Chrome Application. This is a singleton and
20 // provides functions to request browser side actions, such as opening a 20 // provides functions to request browser side actions, such as opening a
21 // settings page. 21 // settings page.
22 class ChromeApplication { 22 class ChromeApplication {
23 public: 23 public:
24 static bool RegisterBindings(JNIEnv* env); 24 static bool RegisterBindings(JNIEnv* env);
25 25
26 // Opens the autofill settings page.
27 static void ShowAutofillSettings();
28
29 // Opens the password settings page. 26 // Opens the password settings page.
30 static void ShowPasswordSettings(); 27 static void ShowPasswordSettings();
31 28
32 // Open the clear browsing data UI. 29 // Open the clear browsing data UI.
33 static void OpenClearBrowsingData(content::WebContents* web_contents); 30 static void OpenClearBrowsingData(content::WebContents* web_contents);
34 31
35 // Determines whether parental controls are enabled. 32 // Determines whether parental controls are enabled.
36 static bool AreParentalControlsEnabled(); 33 static bool AreParentalControlsEnabled();
37 34
38 private: 35 private:
39 ChromeApplication() {} 36 ChromeApplication() {}
40 ~ChromeApplication() {} 37 ~ChromeApplication() {}
41 38
42 DISALLOW_COPY_AND_ASSIGN(ChromeApplication); 39 DISALLOW_COPY_AND_ASSIGN(ChromeApplication);
43 }; 40 };
44 41
45 } // namespace android 42 } // namespace android
46 } // namespace chrome 43 } // namespace chrome
47 44
48 #endif // CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_ 45 #endif // CHROME_BROWSER_ANDROID_CHROME_APPLICATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/chrome_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698