Commit 68aa02e7 authored by Gavin Williams's avatar Gavin Williams Committed by Chromium LUCI CQ

scanning: Prevent app from opening in browser tab

The first iteration of Scan app will not support having two instances
open at once so we will not allow the app to be opened in a browser tab.

Bug: 1059779
Change-Id: I900e4a8d5d8f38460330d5a358ad12a9df1b3b19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568826Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Gavin Williams <gavinwill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832699}
parent 1203475a
...@@ -204,6 +204,7 @@ base::flat_map<SystemAppType, SystemAppInfo> CreateSystemWebApps( ...@@ -204,6 +204,7 @@ base::flat_map<SystemAppType, SystemAppInfo> CreateSystemWebApps(
base::BindRepeating( base::BindRepeating(
&CreateWebAppInfoForScanningSystemWebApp))); &CreateWebAppInfoForScanningSystemWebApp)));
infos.at(SystemAppType::SCANNING).minimum_window_size = {600, 420}; infos.at(SystemAppType::SCANNING).minimum_window_size = {600, 420};
infos.at(SystemAppType::SCANNING).capture_navigations = true;
} }
if (SystemWebAppManager::IsAppEnabled( if (SystemWebAppManager::IsAppEnabled(
......
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