Home
last modified time | relevance | path

Searched refs:GetBoolean (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/external/chromium_org/chrome/browser/notifications/
Dwelcome_notification_unittest.cc200 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
202 profile()->GetPrefs()->GetBoolean( in TEST_F()
211 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
213 profile()->GetPrefs()->GetBoolean( in TEST_F()
222 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
224 profile()->GetPrefs()->GetBoolean( in TEST_F()
233 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
235 profile()->GetPrefs()->GetBoolean( in TEST_F()
245 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed)); in TEST_F()
247 profile()->GetPrefs()->GetBoolean( in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_apitest.cc36 EXPECT_TRUE(prefs->GetBoolean(prefs::kAlternateErrorPagesEnabled)); in CheckPreferencesSet()
37 EXPECT_TRUE(prefs->GetBoolean(autofill::prefs::kAutofillEnabled)); in CheckPreferencesSet()
38 EXPECT_FALSE(prefs->GetBoolean(prefs::kBlockThirdPartyCookies)); in CheckPreferencesSet()
39 EXPECT_TRUE(prefs->GetBoolean(prefs::kEnableHyperlinkAuditing)); in CheckPreferencesSet()
40 EXPECT_TRUE(prefs->GetBoolean(prefs::kEnableReferrers)); in CheckPreferencesSet()
41 EXPECT_TRUE(prefs->GetBoolean(prefs::kEnableTranslate)); in CheckPreferencesSet()
42 EXPECT_TRUE(prefs->GetBoolean(prefs::kNetworkPredictionEnabled)); in CheckPreferencesSet()
43 EXPECT_TRUE(prefs->GetBoolean(prefs::kSafeBrowsingEnabled)); in CheckPreferencesSet()
44 EXPECT_TRUE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); in CheckPreferencesSet()
53 EXPECT_FALSE(prefs->GetBoolean(prefs::kAlternateErrorPagesEnabled)); in CheckPreferencesCleared()
[all …]
/external/chromium_org/chrome/browser/prefs/
Dpref_functional_browsertest.cc123 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
141 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
145 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
152 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
155 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
158 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
198 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
220 EXPECT_FALSE(prefs->GetBoolean(prefs::kHomePageIsNewTabPage)); in IN_PROC_BROWSER_TEST_F()
228 EXPECT_TRUE(prefs->GetBoolean(prefs::kNetworkPredictionEnabled)); in IN_PROC_BROWSER_TEST_F()
231 EXPECT_TRUE(prefs->GetBoolean(prefs::kSafeBrowsingEnabled)); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/system/
Ddevice_change_handler.cc40 const bool tap_dragging = prefs->GetBoolean(prefs::kTapDraggingEnabled); in TouchpadExists()
44 prefs->GetBoolean(prefs::kEnableTouchpadThreeFingerClick); in TouchpadExists()
54 prefs->GetBoolean(prefs::kTapToClickEnabled) : in TouchpadExists()
55 local_prefs->GetBoolean(prefs::kOwnerTapToClickEnabled); in TouchpadExists()
76 prefs->GetBoolean(prefs::kPrimaryMouseButtonRight) : in MouseExists()
77 local_prefs->GetBoolean(prefs::kOwnerPrimaryMouseButtonRight); in MouseExists()
/external/chromium_org/chrome/browser/web_resource/
Dnotification_promo_mobile_ntp.cc57 payload_->GetBoolean("promo_requires_mobile_only_sync", in InitFromNotificationPromo()
59 payload_->GetBoolean("promo_requires_sync", &requires_sync_); in InitFromNotificationPromo()
60 payload_->GetBoolean("promo_show_on_most_visited", &show_on_most_visited_); in InitFromNotificationPromo()
61 payload_->GetBoolean("promo_show_on_open_tabs", &show_on_open_tabs_); in InitFromNotificationPromo()
62 payload_->GetBoolean("promo_show_as_virtual_computer", in InitFromNotificationPromo()
/external/chromium_org/chrome/browser/extensions/api/browsing_data/
Dbrowsing_data_api.cc108 return prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory); in IsRemovalPermitted()
127 prefs->GetBoolean(prefs::kDeleteCookies)); in RunImpl()
130 prefs->GetBoolean(prefs::kDeleteHostedAppsData)); in RunImpl()
153 bool delete_site_data = prefs->GetBoolean(prefs::kDeleteCookies) || in RunImpl()
154 prefs->GetBoolean(prefs::kDeleteHostedAppsData); in RunImpl()
180 delete_site_data && prefs->GetBoolean(prefs::kClearPluginLSODataEnabled)); in RunImpl()
184 prefs->GetBoolean(prefs::kDeleteBrowsingHistory)); in RunImpl()
187 prefs->GetBoolean(prefs::kDeleteDownloadHistory)); in RunImpl()
190 prefs->GetBoolean(prefs::kDeleteCache)); in RunImpl()
193 prefs->GetBoolean(prefs::kDeleteFormData)); in RunImpl()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/
Dclear_browser_data_handler.cc162 if (prefs->GetBoolean(prefs::kDeleteBrowsingHistory) && in HandleClearBrowserData()
166 if (prefs->GetBoolean(prefs::kDeleteDownloadHistory) && in HandleClearBrowserData()
170 if (prefs->GetBoolean(prefs::kDeleteCache)) in HandleClearBrowserData()
172 if (prefs->GetBoolean(prefs::kDeleteCookies)) { in HandleClearBrowserData()
176 if (prefs->GetBoolean(prefs::kDeletePasswords)) in HandleClearBrowserData()
178 if (prefs->GetBoolean(prefs::kDeleteFormData)) in HandleClearBrowserData()
181 if (prefs->GetBoolean(prefs::kDeauthorizeContentLicenses) && in HandleClearBrowserData()
185 if (prefs->GetBoolean(prefs::kDeleteHostedAppsData)) { in HandleClearBrowserData()
/external/chromium_org/printing/
Dprint_settings_initializer.cc27 if (!job_settings.GetBoolean(kSettingHeaderFooterEnabled, in InitSettings()
46 if (!job_settings.GetBoolean(kSettingShouldPrintBackgrounds, &backgrounds) || in InitSettings()
47 !job_settings.GetBoolean(kSettingShouldPrintSelectionOnly, in InitSettings()
87 if (!job_settings.GetBoolean(kSettingCollate, &collate) || in InitSettings()
91 !job_settings.GetBoolean(kSettingLandscape, &landscape) || in InitSettings()
Dprinting_context.cc65 if (!job_settings.GetBoolean(kSettingPrintToPDF, &print_to_pdf) || in UpdatePrintSettings()
66 !job_settings.GetBoolean(kSettingCloudPrintDialog, &is_cloud_dialog) || in UpdatePrintSettings()
67 !job_settings.GetBoolean(kSettingPrintWithPrivet, &print_with_privet)) { in UpdatePrintSettings()
/external/chromium_org/content/browser/webui/
Dgeneric_handler.cc40 CHECK(args->GetBoolean(3, &alt_key)); in HandleNavigateToUrl()
41 CHECK(args->GetBoolean(4, &ctrl_key)); in HandleNavigateToUrl()
42 CHECK(args->GetBoolean(5, &meta_key)); in HandleNavigateToUrl()
43 CHECK(args->GetBoolean(6, &shift_key)); in HandleNavigateToUrl()
/external/chromium/chrome/browser/ui/webui/options/
Dclear_browser_data_handler.cc105 if (prefs->GetBoolean(prefs::kDeleteBrowsingHistory)) in HandleClearBrowserData()
107 if (prefs->GetBoolean(prefs::kDeleteDownloadHistory)) in HandleClearBrowserData()
109 if (prefs->GetBoolean(prefs::kDeleteCache)) in HandleClearBrowserData()
111 if (prefs->GetBoolean(prefs::kDeleteCookies)) { in HandleClearBrowserData()
116 if (prefs->GetBoolean(prefs::kDeletePasswords)) in HandleClearBrowserData()
118 if (prefs->GetBoolean(prefs::kDeleteFormData)) in HandleClearBrowserData()
Dsync_setup_handler.cc64 if (!result->GetBoolean("keepEverythingSynced", &config->sync_everything)) in GetConfiguration()
70 if (!result->GetBoolean("syncBookmarks", &sync_bookmarks)) in GetConfiguration()
76 if (!result->GetBoolean("syncPreferences", &sync_preferences)) in GetConfiguration()
82 if (!result->GetBoolean("syncThemes", &sync_themes)) in GetConfiguration()
88 if (!result->GetBoolean("syncPasswords", &sync_passwords)) in GetConfiguration()
94 if (!result->GetBoolean("syncAutofill", &sync_autofill)) in GetConfiguration()
100 if (!result->GetBoolean("syncExtensions", &sync_extensions)) in GetConfiguration()
106 if (!result->GetBoolean("syncTypedUrls", &sync_typed_urls)) in GetConfiguration()
112 if (!result->GetBoolean("syncSessions", &sync_sessions)) in GetConfiguration()
118 if (!result->GetBoolean("syncApps", &sync_apps)) in GetConfiguration()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_content_settings_apitest.cc26 EXPECT_FALSE(pref_service->GetBoolean(prefs::kBlockThirdPartyCookies)); in IN_PROC_BROWSER_TEST_F()
27 EXPECT_TRUE(pref_service->GetBoolean(prefs::kEnableReferrers)); in IN_PROC_BROWSER_TEST_F()
49 EXPECT_TRUE(otr_prefs->GetBoolean(prefs::kBlockThirdPartyCookies)); in IN_PROC_BROWSER_TEST_F()
54 EXPECT_FALSE(prefs->GetBoolean(prefs::kBlockThirdPartyCookies)); in IN_PROC_BROWSER_TEST_F()
77 EXPECT_EQ(true, pref_service->GetBoolean(prefs::kBlockThirdPartyCookies)); in IN_PROC_BROWSER_TEST_F()
Dextension_input_api.cc101 if (args->GetBoolean(kAlt, &alt)) in RunImpl()
104 if (args->GetBoolean(kCtrl, &ctrl)) in RunImpl()
107 if (args->GetBoolean(kShift, &shift)) in RunImpl()
110 if (args->GetBoolean(kMeta, &meta)) { in RunImpl()
Dextension_cookies_unittest.cc121 EXPECT_TRUE(cookie_value1->GetBoolean(keys::kHostOnlyKey, &boolean_value)); in TEST_F()
125 EXPECT_TRUE(cookie_value1->GetBoolean(keys::kSecureKey, &boolean_value)); in TEST_F()
127 EXPECT_TRUE(cookie_value1->GetBoolean(keys::kHttpOnlyKey, &boolean_value)); in TEST_F()
129 EXPECT_TRUE(cookie_value1->GetBoolean(keys::kSessionKey, &boolean_value)); in TEST_F()
143 EXPECT_TRUE(cookie_value2->GetBoolean(keys::kHostOnlyKey, &boolean_value)); in TEST_F()
145 EXPECT_TRUE(cookie_value2->GetBoolean(keys::kSessionKey, &boolean_value)); in TEST_F()
/external/chromium/chrome/browser/first_run/
Dfirst_run_browsertest.cc20 EXPECT_TRUE(g_browser_process->local_state()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
30 EXPECT_TRUE(g_browser_process->local_state()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
40 EXPECT_TRUE(g_browser_process->local_state()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
50 EXPECT_TRUE(g_browser_process->local_state()->GetBoolean( in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/tab_contents/
Drender_view_host_delegate_helper.cc235 prefs->GetBoolean(prefs::kWebKitJavascriptCanOpenWindowsAutomatically); in GetWebkitPrefs()
237 prefs->GetBoolean(prefs::kWebKitDomPasteEnabled); in GetWebkitPrefs()
239 prefs->GetBoolean(prefs::kWebKitShrinksStandaloneImagesToFit); in GetWebkitPrefs()
251 web_prefs.tabs_to_links = prefs->GetBoolean(prefs::kWebkitTabsToLinks); in GetWebkitPrefs()
259 prefs->GetBoolean(prefs::kWebKitJavascriptEnabled); in GetWebkitPrefs()
262 prefs->GetBoolean(prefs::kWebKitWebSecurityEnabled); in GetWebkitPrefs()
265 prefs->GetBoolean(prefs::kWebKitPluginsEnabled); in GetWebkitPrefs()
268 prefs->GetBoolean(prefs::kWebKitJavaEnabled); in GetWebkitPrefs()
270 prefs->GetBoolean(prefs::kWebKitLoadsImagesAutomatically); in GetWebkitPrefs()
351 prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector); in GetWebkitPrefs()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dscreen_context_unittest.cc41 ASSERT_TRUE(context().GetBoolean("key0")); in TEST_F()
42 ASSERT_TRUE(context().GetBoolean("key0", false)); in TEST_F()
51 ASSERT_FALSE(context().GetBoolean("key0")); in TEST_F()
52 ASSERT_FALSE(context().GetBoolean("key0", true)); in TEST_F()
112 rv = changes.GetBoolean("key1", &bool_value); in TEST_F()
154 ASSERT_TRUE(context().GetBoolean("key2")); in TEST_F()
/external/chromium/chrome/browser/sync/
Dsync_setup_flow.cc113 service->profile()->GetPrefs()->GetBoolean(prefs::kKeepEverythingSynced)); in GetArgsForConfigure()
132 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncBookmarks)); in GetArgsForConfigure()
134 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncPreferences)); in GetArgsForConfigure()
136 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncThemes)); in GetArgsForConfigure()
138 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncPasswords)); in GetArgsForConfigure()
140 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncAutofill)); in GetArgsForConfigure()
142 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncExtensions)); in GetArgsForConfigure()
144 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncSessions)); in GetArgsForConfigure()
146 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncTypedUrls)); in GetArgsForConfigure()
148 service->profile()->GetPrefs()->GetBoolean(prefs::kSyncApps)); in GetArgsForConfigure()
/external/chromium_org/chromeos/app_mode/
Dkiosk_oem_manifest_parser.cc46 dict->GetBoolean(kKeyboardDrivenOobe, in Load()
48 if (!dict->GetBoolean(kEnterpriseManaged, in Load()
50 !dict->GetBoolean(kAllowReset, in Load()
/external/chromium_org/chrome/renderer/
Dchrome_mock_render_thread.cc171 if (!job_settings.GetBoolean(printing::kSettingLandscape, NULL) || in OnUpdatePrintSettings()
172 !job_settings.GetBoolean(printing::kSettingCollate, NULL) || in OnUpdatePrintSettings()
174 !job_settings.GetBoolean(printing::kSettingPrintToPDF, NULL) || in OnUpdatePrintSettings()
175 !job_settings.GetBoolean(printing::kIsFirstRequest, NULL) || in OnUpdatePrintSettings()
208 job_settings.GetBoolean(printing::kSettingShouldPrintSelectionOnly, in OnUpdatePrintSettings()
210 job_settings.GetBoolean(printing::kSettingShouldPrintBackgrounds, in OnUpdatePrintSettings()
/external/chromium_org/chrome/browser/chromeos/accessibility/
Daccessibility_manager.cc345 if (pref_service->GetBoolean(prefs::kStickyKeysEnabled) || in ShouldShowAccessibilityMenu()
346 pref_service->GetBoolean(prefs::kLargeCursorEnabled) || in ShouldShowAccessibilityMenu()
347 pref_service->GetBoolean(prefs::kSpokenFeedbackEnabled) || in ShouldShowAccessibilityMenu()
348 pref_service->GetBoolean(prefs::kHighContrastEnabled) || in ShouldShowAccessibilityMenu()
349 pref_service->GetBoolean(prefs::kAutoclickEnabled) || in ShouldShowAccessibilityMenu()
350 pref_service->GetBoolean(prefs::kShouldAlwaysShowAccessibilityMenu) || in ShouldShowAccessibilityMenu()
351 pref_service->GetBoolean(prefs::kScreenMagnifierEnabled)) in ShouldShowAccessibilityMenu()
371 profile_->GetPrefs()->GetBoolean(prefs::kLargeCursorEnabled); in UpdateLargeCursorFromPref()
418 profile_->GetPrefs()->GetBoolean(prefs::kStickyKeysEnabled); in UpdateStickyKeysFromPref()
455 profile_->GetPrefs()->GetBoolean(prefs::kSpokenFeedbackEnabled); in UpdateSpokenFeedbackFromPref()
[all …]
/external/chromium_org/chrome/service/cloud_print/
Dconnector_settings.cc54 print_system_settings_->GetBoolean(kDeleteOnEnumFail, in InitFrom()
72 connect_new_printers_ = prefs->GetBoolean( in InitFrom()
75 xmpp_ping_enabled_ = prefs->GetBoolean( in InitFrom()
93 dictionary->GetBoolean(kConnect, &connect); in InitFrom()
/external/chromium_org/cc/test/
Dlayer_tree_json_parser.cc38 success &= dict->GetBoolean("DrawsContent", &draws_content); in ParseTreeFromValue()
67 success &= dict->GetBoolean("FillCenter", &fill_center); in ParseTreeFromValue()
100 if (dict->GetBoolean("ContentsOpaque", &contents_opaque)) in ParseTreeFromValue()
104 if (dict->GetBoolean("Scrollable", &scrollable)) in ParseTreeFromValue()
108 if (dict->GetBoolean("WheelHandler", &wheel_handler)) in ParseTreeFromValue()
/external/chromium_org/ui/base/webui/
Dweb_ui_util.cc70 CHECK(args->GetBoolean(start_index++, &alt_key)); in GetDispositionFromClick()
71 CHECK(args->GetBoolean(start_index++, &ctrl_key)); in GetDispositionFromClick()
72 CHECK(args->GetBoolean(start_index++, &meta_key)); in GetDispositionFromClick()
73 CHECK(args->GetBoolean(start_index++, &shift_key)); in GetDispositionFromClick()

12345678910>>...23