[lacros] Add screen-coordinate feature flag to chrome://flags
My estimate is that it'll probably take 1Q to finish all work and
enable this by default.
Bug: 1261321
Change-Id: I0e332f5ccc6d7422569e6ec591e00b284885c1f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3519640
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Robert Kroeger <[email protected]>
Commit-Queue: Mitsuru Oshima <[email protected]>
Cr-Commit-Position: refs/heads/main@{#981344}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index f646c0a..9d17dab 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -5550,6 +5550,17 @@
"generate two additional paks for resources.pak, chrome_100_percent.pak "
"and chrome_200_percent.pak. Additional paks are mapping table and "
"fallback resources.";
+
+const char kLacrosScreenCoordinatesEnabledName[] =
+ "Enable screen coordinates system in lacros-chrome";
+const char kLacrosScreenCoordinatesEnabledDescription[] =
+ "Enabling this will allow lacros to control the window position in screen "
+ "coordinates. This is required for features such as the Javascript APIs "
+ "moveBy, moveTo or session restore.";
+
+extern const char kLacrosScreenCoordinatesName[];
+extern const char kLacrosScreenCoordinatesDescription[];
+
#endif // #if BUILDFLAG(IS_CHROMEOS_LACROS)
#if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS)