summaryrefslogtreecommitdiffstats
path: root/ash/ime
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 10:23:14 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 10:23:14 +0000
commitcf0d342b4de5d6dbd760a0915fc20cc768005b1c (patch)
tree56106e1fbc583fadbdf92de495c3476c24c3b21c /ash/ime
parent8f30bbcdd4ad9c73a8b22c036ecace31c1e57420 (diff)
downloadchromium_src-cf0d342b4de5d6dbd760a0915fc20cc768005b1c.zip
chromium_src-cf0d342b4de5d6dbd760a0915fc20cc768005b1c.tar.gz
chromium_src-cf0d342b4de5d6dbd760a0915fc20cc768005b1c.tar.bz2
Specifies use_focusless flag to InfolistWindow.
InfolistWindow is just a view bubble, it shouldn't grab the focus. BUG=382201 R=shuchen@chromium.org, msw@chromium.org TEST=None Review URL: https://codereview.chromium.org/323943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ime')
-rw-r--r--ash/ime/infolist_window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/ime/infolist_window.cc b/ash/ime/infolist_window.cc
index 429cca5..d29ed2a 100644
--- a/ash/ime/infolist_window.cc
+++ b/ash/ime/infolist_window.cc
@@ -172,6 +172,8 @@ InfolistWindow::InfolistWindow(views::View* candidate_window,
title_font_list_(gfx::Font(kJapaneseFontName, kFontSizeDelta + 15)),
description_font_list_(gfx::Font(kJapaneseFontName,
kFontSizeDelta + 11)) {
+ set_use_focusless(true);
+ set_accept_events(false);
set_margins(gfx::Insets());
set_background(