summaryrefslogtreecommitdiffstats
path: root/ash/accelerators
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 06:37:42 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 06:37:42 +0000
commit77af61b3ca224a1201d6078c2db8a30151086283 (patch)
tree95e4da64dc0679d015b1a39d019790f02109cbb3 /ash/accelerators
parent9f1576fecbe122e524cb3735f99c3fc3a1c1788d (diff)
downloadchromium_src-77af61b3ca224a1201d6078c2db8a30151086283.zip
chromium_src-77af61b3ca224a1201d6078c2db8a30151086283.tar.gz
chromium_src-77af61b3ca224a1201d6078c2db8a30151086283.tar.bz2
[Refactor] Consolidate the logic for whether a widget can be activated.
This is a first step towards giving tooltips their own WindowTreeHosts on Linux. BUG=353533 TEST=None Review URL: https://codereview.chromium.org/286733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators')
-rw-r--r--ash/accelerators/exit_warning_handler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/ash/accelerators/exit_warning_handler.cc b/ash/accelerators/exit_warning_handler.cc
index 056e32d..b3409e5 100644
--- a/ash/accelerators/exit_warning_handler.cc
+++ b/ash/accelerators/exit_warning_handler.cc
@@ -187,7 +187,6 @@ void ExitWarningHandler::Show() {
params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.accept_events = false;
- params.can_activate = false;
params.keep_on_top = true;
params.remove_standard_frame = true;
params.delegate = delegate;