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

Unified Diff: chrome/browser/ui/webui/options/personal_options_handler.h

Issue 7322014: Autofill button should get enabled and disabled according to the policy value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/personal_options_handler.h
diff --git a/chrome/browser/ui/webui/options/personal_options_handler.h b/chrome/browser/ui/webui/options/personal_options_handler.h
index eb58ce458c0825b93a2114d935fb9ee5e91da4fb..0a238c20827d4c0f38cdada008f5493cadd21951 100644
--- a/chrome/browser/ui/webui/options/personal_options_handler.h
+++ b/chrome/browser/ui/webui/options/personal_options_handler.h
@@ -50,6 +50,8 @@ class PersonalOptionsHandler : public OptionsPageUIHandler,
void ThemesSetGTK(const ListValue* args);
#endif
+ void UpdateAutofillUI();
+
#if defined(OS_CHROMEOS)
void LoadAccountPicture(const ListValue* args);
NotificationRegistrar registrar_;
@@ -60,6 +62,8 @@ class PersonalOptionsHandler : public OptionsPageUIHandler,
// True if the multiprofiles switch is enabled.
bool multiprofile_;
+ BooleanPrefMember autofill_enabled_;
+
DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
};

Powered by Google App Engine
This is Rietveld 408576698