Commit 8cfb1541 authored by yilkal's avatar yilkal Committed by Chromium LUCI CQ

Make EDU Coexistence Dialog height consistent with the rest of OOBE

This cl makes sure that the dialog size and bounds are consistent
with the rest of onboarding flow.

Bug: 1169786
Change-Id: Ie433562bf353a287eaa8449cc8e50c27c0bce4b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2645298Reviewed-by: default avatarDan S <danan@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Yilkal Abe <yilkal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#846296}
parent d0eb2001
......@@ -18,6 +18,7 @@
#include "chrome/browser/supervised_user/supervised_user_features.h"
#include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
#include "chrome/browser/ui/webui/signin/inline_login_dialog_chromeos_onboarding.h"
#include "ui/aura/window.h"
#include "ui/gfx/geometry/rect.h"
namespace chromeos {
......@@ -77,6 +78,8 @@ void EduCoexistenceLoginScreen::ShowImpl() {
dialog_delegate_ =
std::make_unique<InlineLoginDialogChromeOSOnboarding::Delegate>(dialog);
dialog_delegate_->UpdateDialogBounds(
oobe_ui->GetNativeView()->GetBoundsInScreen());
}
void EduCoexistenceLoginScreen::HideImpl() {
......
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