Commit 57dee5a4 authored by Christopher Cameron's avatar Christopher Cameron Committed by Commit Bot

RemoteMacViews: Add about:flags entry for RemoteMacViews

The feature has been around for a while, but having it in about:flags
will help development along.

Bug: 859152
Change-Id: I3da5fff7b57961f3c41a628c69a9b65b69122860
Reviewed-on: https://chromium-review.googlesource.com/1226298
Commit-Queue: ccameron <ccameron@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593797}
parent 44e87329
...@@ -2029,6 +2029,10 @@ const FeatureEntry kFeatureEntries[] = { ...@@ -2029,6 +2029,10 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kHostedAppsInWindowsDescription, kOsMac, flag_descriptions::kHostedAppsInWindowsDescription, kOsMac,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableHostedAppsInWindows, ENABLE_DISABLE_VALUE_TYPE(switches::kEnableHostedAppsInWindows,
switches::kDisableHostedAppsInWindows)}, switches::kDisableHostedAppsInWindows)},
{"create-app-windows-in-app",
flag_descriptions::kCreateAppWindowsInAppShimProcessName,
flag_descriptions::kCreateAppWindowsInAppShimProcessDescription, kOsMac,
FEATURE_VALUE_TYPE(features::kHostWindowsInAppShimProcess)},
{"disable-hosted-app-shim-creation", {"disable-hosted-app-shim-creation",
flag_descriptions::kHostedAppShimCreationName, flag_descriptions::kHostedAppShimCreationName,
flag_descriptions::kHostedAppShimCreationDescription, kOsMac, flag_descriptions::kHostedAppShimCreationDescription, kOsMac,
......
...@@ -2935,6 +2935,12 @@ const char kHostedAppsInWindowsDescription[] = ...@@ -2935,6 +2935,12 @@ const char kHostedAppsInWindowsDescription[] =
"Allows hosted apps to be opened in windows instead of being limited to " "Allows hosted apps to be opened in windows instead of being limited to "
"tabs."; "tabs.";
const char kCreateAppWindowsInAppShimProcessName[] =
"Create native windows in the app process";
const char kCreateAppWindowsInAppShimProcessDescription[] =
"Create native windows the app shim process, instead of of the browser "
"process.";
const char kMacRTLName[] = "Enable RTL"; const char kMacRTLName[] = "Enable RTL";
const char kMacRTLDescription[] = "Mirrors the UI for RTL language users"; const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
......
...@@ -1770,6 +1770,9 @@ extern const char kEnableWebAuthenticationTouchIdDescription[]; ...@@ -1770,6 +1770,9 @@ extern const char kEnableWebAuthenticationTouchIdDescription[];
extern const char kHostedAppsInWindowsName[]; extern const char kHostedAppsInWindowsName[];
extern const char kHostedAppsInWindowsDescription[]; extern const char kHostedAppsInWindowsDescription[];
extern const char kCreateAppWindowsInAppShimProcessName[];
extern const char kCreateAppWindowsInAppShimProcessDescription[];
extern const char kMacRTLName[]; extern const char kMacRTLName[];
extern const char kMacRTLDescription[]; extern const char kMacRTLDescription[];
......
...@@ -30357,6 +30357,7 @@ from previous Chrome versions. ...@@ -30357,6 +30357,7 @@ from previous Chrome versions.
<int value="1739456903" label="PWAFullCodeCache:enabled"/> <int value="1739456903" label="PWAFullCodeCache:enabled"/>
<int value="1747279677" label="disable-delegated-renderer"/> <int value="1747279677" label="disable-delegated-renderer"/>
<int value="1752168018" label="enable-stale-while-revalidate"/> <int value="1752168018" label="enable-stale-while-revalidate"/>
<int value="1755024316" label="HostWindowsInAppShimProcess:disabled"/>
<int value="1760946944" label="MacViewsAutofillPopup:disabled"/> <int value="1760946944" label="MacViewsAutofillPopup:disabled"/>
<int value="1762320532" label="AutofillKeyboardAccessory:enabled"/> <int value="1762320532" label="AutofillKeyboardAccessory:enabled"/>
<int value="1766676896" label="affiliation-based-matching:disabled"/> <int value="1766676896" label="affiliation-based-matching:disabled"/>
...@@ -30544,6 +30545,7 @@ from previous Chrome versions. ...@@ -30544,6 +30545,7 @@ from previous Chrome versions.
<int value="2098907258" label="UseSurfaceLayerForVideo:disabled"/> <int value="2098907258" label="UseSurfaceLayerForVideo:disabled"/>
<int value="2101151142" label="disable-direct-write"/> <int value="2101151142" label="disable-direct-write"/>
<int value="2104788328" label="use-winrt-midi-api"/> <int value="2104788328" label="use-winrt-midi-api"/>
<int value="2106855416" label="HostWindowsInAppShimProcess:enabled"/>
<int value="2113804526" label="EnableAppShortcutSearch:enabled"/> <int value="2113804526" label="EnableAppShortcutSearch:enabled"/>
<int value="2114843059" label="ContextualSuggestionsOptOut:enabled"/> <int value="2114843059" label="ContextualSuggestionsOptOut:enabled"/>
<int value="2119964154" label="enable-download-resumption"/> <int value="2119964154" label="enable-download-resumption"/>
...@@ -68,6 +68,8 @@ UI_BASE_EXPORT bool IsMultiProcessMash(); ...@@ -68,6 +68,8 @@ UI_BASE_EXPORT bool IsMultiProcessMash();
UI_BASE_EXPORT bool IsSingleProcessMash(); UI_BASE_EXPORT bool IsSingleProcessMash();
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
UI_BASE_EXPORT extern const base::Feature kHostWindowsInAppShimProcess;
// Returns true if the NSWindows for apps will be created in the app's process, // Returns true if the NSWindows for apps will be created in the app's process,
// and will forward input to the browser process. // and will forward input to the browser process.
UI_BASE_EXPORT bool HostWindowsInAppShimProcess(); UI_BASE_EXPORT bool HostWindowsInAppShimProcess();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment