Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1211)

Unified Diff: ui/keyboard/keyboard_controller.cc

Issue 617013002: Remove redundant SetBounds calls to the keyboard window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/keyboard/keyboard_controller_proxy.cc » ('j') | ui/keyboard/keyboard_controller_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.cc
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
index 1b7b9f3a8e5cba1d9b627117dc4899bbeda773e2..ba9ae3c3eedb56c883e83d1370d1dea8317c0139 100644
--- a/ui/keyboard/keyboard_controller.cc
+++ b/ui/keyboard/keyboard_controller.cc
@@ -44,8 +44,7 @@ const int kHideAnimationDurationMs = 100;
// The opacity of virtual keyboard container when show animation starts or
// hide animation finishes.
-// TODO(rsadam@): Investigate why setting this to zero crashes.
-const float kAnimationStartOrAfterHideOpacity = 0.01f;
+const float kAnimationStartOrAfterHideOpacity = 0;
// Event targeter for the keyboard container.
class KeyboardContainerTargeter : public wm::MaskedWindowTargeter {
« no previous file with comments | « no previous file | ui/keyboard/keyboard_controller_proxy.cc » ('j') | ui/keyboard/keyboard_controller_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698