summaryrefslogtreecommitdiffstats
path: root/ceee/ie/common/ceee_module_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/ie/common/ceee_module_util.cc')
-rw-r--r--ceee/ie/common/ceee_module_util.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ceee/ie/common/ceee_module_util.cc b/ceee/ie/common/ceee_module_util.cc
index 930520f..3e18dbc 100644
--- a/ceee/ie/common/ceee_module_util.cc
+++ b/ceee/ie/common/ceee_module_util.cc
@@ -26,6 +26,8 @@ const wchar_t* kRegistryValueCrxInstalledPath = L"crx_installed_path";
const wchar_t* kRegistryValueCrxInstalledTime = L"crx_installed_time";
const wchar_t* kRegistryValueCrxInstalledByVersion =
L"crx_installed_runtime_version";
+const wchar_t* kRegistryValueEnableWebProgressApis =
+ L"enable_webnav_webreq_apis";
// Global state needed by the BHO and the
// toolband, to indicate whether ShowDW calls should affect
@@ -244,6 +246,14 @@ bool GetOptionToolbandForceReposition() {
return !GetCeeeRegistryBoolean(kRegistryValueToolbandPlaced, false);
}
+void SetOptionEnableWebProgressApis(bool enable) {
+ SetCeeeRegistryBoolean(kRegistryValueEnableWebProgressApis, enable);
+}
+
+bool GetOptionEnableWebProgressApis() {
+ return GetCeeeRegistryBoolean(kRegistryValueEnableWebProgressApis, false);
+}
+
void SetIgnoreShowDWChanges(bool ignore) {
if (ignore) {
::InterlockedIncrement(&g_ignore_show_dw_changes);