summaryrefslogtreecommitdiffstats
path: root/ash/ime
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:53:05 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:53:05 +0000
commitb58f32d76d2431c3e2372a85bb337caa55dc6183 (patch)
treeab60a2633bc9aa3a8a1637f34f59f21f74abc048 /ash/ime
parent5294ec9616595ec4691018e34ce47dd9734ed64d (diff)
downloadchromium_src-b58f32d76d2431c3e2372a85bb337caa55dc6183.zip
chromium_src-b58f32d76d2431c3e2372a85bb337caa55dc6183.tar.gz
chromium_src-b58f32d76d2431c3e2372a85bb337caa55dc6183.tar.bz2
Dont dismiss bubble views when window bounds change
Bubble views are closed if BubbleDelegateView::move_with_anchor_ is false when bounds changing. With touch view and virtual keyboard, we dont want to dismiss bubble views on bounds change. So this CL removes BubbleDelegateView::move_with_anchor_ and make it default behavior. BUG=366767 TEST= 1. Enable Virtual keyboard (or touchview mode) 2. Enable streamlined hosted apps flag from about://flags 3. Go to any website 4. Go to hotdog menu, more tools, "Add shortcut to this website" 5. Try to change the name of the shortcut you are adding now by tapping the name textfield of the dialog that appeared 6. The dialog should not disappear, you should be able to change the name in the textfield R=msw@chromium.org, mukai@chromium.org, sadrul@chromium.org, skuhne@chromium.org, xiyuan@chromium.org Review URL: https://codereview.chromium.org/254083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ime')
-rw-r--r--ash/ime/infolist_window.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/ash/ime/infolist_window.cc b/ash/ime/infolist_window.cc
index e48e88e..c29d623 100644
--- a/ash/ime/infolist_window.cc
+++ b/ash/ime/infolist_window.cc
@@ -172,7 +172,6 @@ InfolistWindow::InfolistWindow(views::View* candidate_window,
title_font_list_(gfx::Font(kJapaneseFontName, kFontSizeDelta + 15)),
description_font_list_(gfx::Font(kJapaneseFontName,
kFontSizeDelta + 11)) {
- set_move_with_anchor(true);
set_margins(gfx::Insets());
set_background(