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

Side by Side Diff: chrome/common/pref_names.cc

Issue 541001: Add two AutoFill prefs. autofill.infobar_shown is true if the autofill infob... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // The list of origins which are allowed|denied to show desktop notifications. 292 // The list of origins which are allowed|denied to show desktop notifications.
293 const wchar_t kDesktopNotificationAllowedOrigins[] = 293 const wchar_t kDesktopNotificationAllowedOrigins[] =
294 L"profile.notification_allowed_sites"; 294 L"profile.notification_allowed_sites";
295 const wchar_t kDesktopNotificationDeniedOrigins[] = 295 const wchar_t kDesktopNotificationDeniedOrigins[] =
296 L"profile.notification_denied_sites"; 296 L"profile.notification_denied_sites";
297 297
298 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 298 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
299 // be displayed at the default zoom level. 299 // be displayed at the default zoom level.
300 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; 300 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels";
301 301
302 // Boolean that is true if the autofill infobar has been shown to the user.
303 const wchar_t kAutoFillInfoBarShown[] = L"autofill.infobar_shown";
304
305 // Boolean that is true if autofill is enabled and allowed to save profile data.
306 const wchar_t kAutoFillEnabled[] = L"autofill.enabled";
307
302 // *************** LOCAL STATE *************** 308 // *************** LOCAL STATE ***************
303 // These are attached to the machine/installation 309 // These are attached to the machine/installation
304 310
305 // The metrics client GUID and session ID. 311 // The metrics client GUID and session ID.
306 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; 312 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id";
307 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; 313 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id";
308 314
309 // Date/time when the current metrics profile ID was created 315 // Date/time when the current metrics profile ID was created
310 // (which hopefully corresponds to first run). 316 // (which hopefully corresponds to first run).
311 const wchar_t kMetricsClientIDTimestamp[] = 317 const wchar_t kMetricsClientIDTimestamp[] =
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; 611 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed";
606 612
607 // Create web application shortcut dialog preferences. 613 // Create web application shortcut dialog preferences.
608 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; 614 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop";
609 const wchar_t kWebAppCreateInAppsMenu[] = 615 const wchar_t kWebAppCreateInAppsMenu[] =
610 L"browser.web_app.create_in_apps_menu"; 616 L"browser.web_app.create_in_apps_menu";
611 const wchar_t kWebAppCreateInQuickLaunchBar[] = 617 const wchar_t kWebAppCreateInQuickLaunchBar[] =
612 L"browser.web_app.create_in_quick_launch_bar"; 618 L"browser.web_app.create_in_quick_launch_bar";
613 619
614 } // namespace prefs 620 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698