Commit 058e2964 authored by ananta@chromium.org's avatar ananta@chromium.org

Ensure that popup windows created by the content layer in desktop AURA don't...

Ensure that popup windows created by the content layer in desktop AURA don't grab activation when the user clicks on them.

This basically translates to setting the can_activate property in the widget init params to false.

Fixes bug https://code.google.com/p/chromium/issues/detail?id=282628

BUG=282628
R=sky@chromium.org

Review URL: https://codereview.chromium.org/23691040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221279 0039d316-1c4b-4281-b951-d872f2087c98
parent f09a5998
......@@ -78,6 +78,7 @@ class DesktopNativeWidgetTopLevelHandler : public aura::WindowObserver {
init_params.ownership = Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET;
init_params.layer_type = ui::LAYER_NOT_DRAWN;
init_params.accept_events = full_screen;
init_params.can_activate = full_screen;
// This widget instance will get deleted when the window is
// destroyed.
......
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