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

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

Issue 7086005: Context menu for "Voice recognition options" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Context menu for "Voice recognition options" only appears when input-field has x-webkit-speech 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 513
514 // Boolean pref to define the default values for using spellchecker. 514 // Boolean pref to define the default values for using spellchecker.
515 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; 515 const char kEnableSpellCheck[] = "browser.enable_spellchecking";
516 516
517 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). 517 // List of names of the enabled labs experiments (see chrome/browser/labs.cc).
518 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; 518 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments";
519 519
520 // Boolean pref to define the default values for using auto spell correct. 520 // Boolean pref to define the default values for using auto spell correct.
521 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; 521 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect";
522 522
523 // Boolean pref to define the default setting for "block offensive words".
524 const char kSpeechInputCensorResults[] =
525 "browser.speechinput_censor_results";
526
523 // Boolean controlling whether history saving is disabled. 527 // Boolean controlling whether history saving is disabled.
524 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 528 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
525 529
526 // Boolean controlling whether printing is enabled. 530 // Boolean controlling whether printing is enabled.
527 const char kPrintingEnabled[] = "printing.enabled"; 531 const char kPrintingEnabled[] = "printing.enabled";
528 532
529 #if defined(TOOLKIT_USES_GTK) 533 #if defined(TOOLKIT_USES_GTK)
530 // GTK specific preference on whether we should match the system GTK theme. 534 // GTK specific preference on whether we should match the system GTK theme.
531 const char kUsesSystemTheme[] = "extensions.theme.use_system"; 535 const char kUsesSystemTheme[] = "extensions.theme.use_system";
532 #endif 536 #endif
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 // Whether user-specified handlers for protocols and content types can be 1391 // Whether user-specified handlers for protocols and content types can be
1388 // specified. 1392 // specified.
1389 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1393 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1390 1394
1391 // Integers that specify the policy refresh rate for device- and user-policy in 1395 // Integers that specify the policy refresh rate for device- and user-policy in
1392 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1396 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1393 // by the cloud policy subsystem. 1397 // by the cloud policy subsystem.
1394 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1398 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1395 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1399 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1396 } // namespace prefs 1400 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698