Home
last modified time | relevance | path

Searched refs:incognito (Results 1 – 25 of 149) sorted by relevance

123456

/external/chromium_org/chrome/browser/prefs/
Dincognito_mode_prefs_unittest.cc25 IncognitoModePrefs::Availability incognito; in TEST_F() local
26 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(0, &incognito)); in TEST_F()
27 EXPECT_EQ(IncognitoModePrefs::ENABLED, incognito); in TEST_F()
28 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(1, &incognito)); in TEST_F()
29 EXPECT_EQ(IncognitoModePrefs::DISABLED, incognito); in TEST_F()
30 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(2, &incognito)); in TEST_F()
31 EXPECT_EQ(IncognitoModePrefs::FORCED, incognito); in TEST_F()
33 EXPECT_FALSE(IncognitoModePrefs::IntToAvailability(10, &incognito)); in TEST_F()
34 EXPECT_EQ(IncognitoModePrefs::ENABLED, incognito); in TEST_F()
35 EXPECT_FALSE(IncognitoModePrefs::IntToAvailability(-1, &incognito)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_custom_extension_provider.cc16 bool incognito) in CustomExtensionProvider() argument
17 : incognito_(incognito), extensions_settings_(extensions_settings) { in CustomExtensionProvider()
27 bool incognito) const { in GetRuleIterator()
30 incognito); in GetRuleIterator()
49 bool incognito) { in OnContentSettingChanged() argument
50 if (incognito_ != incognito) in OnContentSettingChanged()
Dcontent_settings_custom_extension_provider.h22 bool incognito);
30 bool incognito) const OVERRIDE;
46 bool incognito) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_helpers.cc58 bool incognito) { in GetLevelOfControl() argument
59 PrefService* prefs = incognito ? profile->GetOffTheRecordPrefs() in GetLevelOfControl()
62 bool* from_incognito_ptr = incognito ? &from_incognito : NULL; in GetLevelOfControl()
79 incognito)) { in GetLevelOfControl()
91 bool incognito, in DispatchEventToExtensions() argument
105 (!incognito || IncognitoInfo::IsSplitMode(it->get()) || in DispatchEventToExtensions()
112 GetLevelOfControl(profile, extension_id, browser_pref, incognito); in DispatchEventToExtensions()
122 if (incognito && in DispatchEventToExtensions()
125 } else if (!incognito && in DispatchEventToExtensions()
Dpreference_api.cc327 bool incognito = (pref_service != profile_->GetPrefs()); in OnPrefChanged() local
352 if (incognito) { in OnPrefChanged()
362 incognito, in OnPrefChanged()
421 bool incognito) { in CanExtensionControlPref() argument
427 extension_id, pref_key, incognito); in CanExtensionControlPref()
485 bool incognito) { in OnContentSettingChanged() argument
486 if (incognito) { in OnContentSettingChanged()
565 bool incognito = false; in RunSync() local
568 &incognito)); in RunSync()
571 if (incognito && !include_incognito()) { in RunSync()
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DContentViewUtil.java22 public static long createNativeWebContents(boolean incognito) { in createNativeWebContents() argument
23 return nativeCreateNativeWebContents(incognito, false); in createNativeWebContents()
30 public static long createNativeWebContents(boolean incognito, boolean initiallyHidden) { in createNativeWebContents() argument
31 return nativeCreateNativeWebContents(incognito, initiallyHidden); in createNativeWebContents()
50 private static native long nativeCreateNativeWebContents(boolean incognito, in nativeCreateNativeWebContents() argument
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_store_unittest.cc46 void(const std::string& extension_id, bool incognito));
54 bool incognito) { in GetContentSettingFromStore() argument
56 store->GetRuleIterator(content_type, resource_identifier, incognito)); in GetContentSettingFromStore()
67 bool incognito, in GetSettingsForOneTypeFromStore() argument
71 store->GetRuleIterator(content_type, resource_identifier, incognito)); in GetSettingsForOneTypeFromStore()
193 bool incognito = false; in TEST_F() local
196 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); in TEST_F()
213 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); in TEST_F()
231 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); in TEST_F()
241 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); in TEST_F()
[all …]
Dcontent_settings_api.cc71 bool incognito = false; in RunSync() local
75 incognito = true; in RunSync()
78 if (incognito) { in RunSync()
125 bool incognito = false; in RunSync() local
126 if (params->details.incognito.get()) in RunSync()
127 incognito = *params->details.incognito; in RunSync()
128 if (incognito && !include_incognito()) { in RunSync()
135 if (incognito) { in RunSync()
213 bool incognito = false; in RunSync() local
217 incognito = true; in RunSync()
[all …]
Dcontent_settings_store.h48 bool incognito) = 0;
58 bool incognito) const;
128 bool incognito);
/external/chromium_org/chrome/common/extensions/docs/examples/api/contentSettings/
Dpopup.js5 var incognito; variable
19 'scope': (incognito ? 'incognito_session_only' : 'regular')
26 incognito = current.incognito;
36 'incognito': incognito property
/external/chromium_org/components/content_settings/core/common/
Dcontent_settings.cc18 bool incognito) in ContentSettingPatternSource() argument
23 incognito(incognito) {} in ContentSettingPatternSource()
26 : setting(CONTENT_SETTING_DEFAULT), incognito(false) { in ContentSettingPatternSource()
/external/chromium_org/chrome/browser/ui/
Dbrowser_close_browsertest.cc55 } incognito; member
66 } incognito; member
314 browser_a_incognito, check_case.profile_a.incognito.downloads); in ExecuteDownloadCloseCheckCase()
318 browser_b_incognito, check_case.profile_b.incognito.downloads); in ExecuteDownloadCloseCheckCase()
327 check_case.profile_a.incognito.windows, in ExecuteDownloadCloseCheckCase()
329 check_case.profile_b.incognito.windows, in ExecuteDownloadCloseCheckCase()
480 if (profile_a.incognito.windows || profile_a.incognito.downloads) in DebugString()
482 profile_a.incognito.windows, in DebugString()
483 profile_a.incognito.downloads); in DebugString()
488 if (profile_b.incognito.windows || profile_b.incognito.downloads) in DebugString()
[all …]
/external/chromium_org/chrome/browser/extensions/
Devent_router_forwarder_unittest.cc135 Profile* incognito = profile1_->GetOffTheRecordProfile(); in TEST_F() local
138 EXPECT_CALL(*event_router.get(), CallEventRouter(incognito, _, _, _, _)) in TEST_F()
185 Profile* incognito = profile1_->GetOffTheRecordProfile(); in TEST_F() local
190 EXPECT_CALL(*event_router.get(), CallEventRouter(incognito, _, _, _, _)) in TEST_F()
201 Profile* incognito = profile1_->GetOffTheRecordProfile(); in TEST_F() local
207 CallEventRouter(incognito, "", kEventName, incognito, url)); in TEST_F()
210 DispatchEventToRenderers(event_router.get(), kEventName, incognito, true, in TEST_F()
230 Profile* incognito = profile1_->GetOffTheRecordProfile(); in TEST_F() local
235 EXPECT_CALL(*event_router.get(), CallEventRouter(incognito, _, _, _, _)) in TEST_F()
Dmenu_manager.cc203 value->SetBoolean(kIncognitoKey, id_.incognito); in ToValue()
225 bool incognito = false; in Populate() local
226 if (!value.GetBoolean(kIncognitoKey, &incognito)) in Populate()
228 Id id(incognito, MenuItem::ExtensionKey(extension_id)); in Populate()
273 new Id(incognito, MenuItem::ExtensionKey(extension_id))); in Populate()
378 parent->incognito() != child->incognito() || in AddChildItem()
415 child->incognito() != new_parent->incognito() || in ChangeParent()
881 if (iter->first.incognito) in RemoveAllIncognitoContextItems()
921 MenuItem::Id::Id() : incognito(false), uid(0) {} in Id()
923 MenuItem::Id::Id(bool incognito, const MenuItem::ExtensionKey& extension_key) in Id() argument
[all …]
/external/chromium_org/ui/webui/resources/js/cr/
Dlink_controller.js130 var incognito = kind == LinkKind.INCOGNITO;
131 if (kind == LinkKind.WINDOW || incognito) {
134 incognito: incognito property
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_renderer_data.cc11 incognito(false), in TabRendererData()
29 incognito == data.incognito && in Equals()
/external/chromium_org/extensions/browser/
Dextension_pref_value_map.cc72 bool incognito) const { in CanExtensionControlPref()
79 if (incognito && !ext->second->incognito_enabled) in CanExtensionControlPref()
83 GetEffectivePrefValueController(pref_key, incognito, NULL); in CanExtensionControlPref()
113 bool incognito = (from_incognito != NULL); in DoesExtensionControlPref() local
115 GetEffectivePrefValueController(pref_key, incognito, from_incognito); in DoesExtensionControlPref()
245 bool incognito, in GetEffectivePrefValue() argument
248 GetEffectivePrefValueController(key, incognito, from_incognito); in GetEffectivePrefValue()
256 if (incognito) { in GetEffectivePrefValue()
291 bool incognito, in GetEffectivePrefValueController() argument
307 if (incognito && !incognito_enabled) in GetEffectivePrefValueController()
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
DTabModelSelector.java39 void selectModel(boolean incognito); in selectModel() argument
45 TabModel getModel(boolean incognito); in getModel() argument
104 Tab openNewTab(LoadUrlParams loadUrlParams, TabLaunchType type, Tab parent, boolean incognito); in openNewTab() argument
DTabModelSelectorBase.java41 public void selectModel(boolean incognito) { in selectModel() argument
42 mActiveModelIndex = incognito ? INCOGNITO_TAB_MODEL_INDEX : NORMAL_TAB_MODEL_INDEX; in selectModel()
85 public TabModel getModel(boolean incognito) { in getModel() argument
86 int index = incognito ? INCOGNITO_TAB_MODEL_INDEX : NORMAL_TAB_MODEL_INDEX; in getModel()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/proxy_configuration/
Dproxy_form_controller.js128 config_: {regular: null, incognito: null}, property
349 chrome.proxy.settings.get({incognito: false}, property
352 chrome.proxy.settings.get({incognito: true}, property
389 this.config_.incognito = c.value;
510 this.config_.incognito = this.generateProxyConfig_();
531 if (this.config_.incognito) {
533 {value: this.config_.incognito, scope: 'incognito_persistent'},
687 this.config_.incognito = this.generateProxyConfig_();
695 this.recalcFormValues_(this.config_.incognito);
Dpopup.css25 div[role='main'].incognito {
140 .incognito section label,
141 .incognito section legend {
152 .incognito .active section label,
153 .incognito .active section legend,
154 .incognito form > fieldset > label {
/external/chromium_org/chrome/browser/autocomplete/
Dkeyword_extensions_delegate_impl_unittest.cc70 void RunTest(bool incognito);
82 void KeywordExtensionsDelegateImplTest::RunTest(bool incognito) { in RunTest() argument
109 Profile* profile_to_use = incognito ? in RunTest()
114 EXPECT_NE(incognito, delegate->IsEnabledExtension(extension->id())); in RunTest()
/external/chromium_org/chrome/browser/notifications/
Dnotification_browsertest.cc612 Browser* incognito = CreateIncognitoBrowser(); in IN_PROC_BROWSER_TEST_F() local
613 ui_test_utils::NavigateToURL(incognito, GetTestPageURL()); in IN_PROC_BROWSER_TEST_F()
614 ASSERT_TRUE(RequestPermissionAndWait(incognito)); in IN_PROC_BROWSER_TEST_F()
615 PerformActionOnInfoBar(incognito, DENY, 0, 0); in IN_PROC_BROWSER_TEST_F()
616 CloseBrowserWindow(incognito); in IN_PROC_BROWSER_TEST_F()
618 incognito = CreateIncognitoBrowser(); in IN_PROC_BROWSER_TEST_F()
619 ui_test_utils::NavigateToURL(incognito, GetTestPageURL()); in IN_PROC_BROWSER_TEST_F()
620 ASSERT_TRUE(RequestPermissionAndWait(incognito)); in IN_PROC_BROWSER_TEST_F()
621 PerformActionOnInfoBar(incognito, ALLOW, 0, 0); in IN_PROC_BROWSER_TEST_F()
622 CreateSimpleNotification(incognito, true); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_actions.h145 void set_page_incognito(bool incognito) { page_incognito_ = incognito; } in set_page_incognito() argument
147 void set_arg_incognito(bool incognito) { arg_incognito_ = incognito; } in set_arg_incognito() argument
/external/chromium_org/content/ppapi_plugin/
Dplugin_process_dispatcher.cc22 bool incognito) in PluginProcessDispatcher() argument
25 incognito) { in PluginProcessDispatcher()

123456