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

Unified Diff: ash/common/wm/overview/window_selector.cc

Issue 2208513002: [ash-md] Fixes the vertical offset for search in overview with ChromeVox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector.cc
diff --git a/ash/common/wm/overview/window_selector.cc b/ash/common/wm/overview/window_selector.cc
index 339e408ab3727530a69863d920d016825a9674ab..cc487678aefec299e319a78f7f2b44293c87a825 100644
--- a/ash/common/wm/overview/window_selector.cc
+++ b/ash/common/wm/overview/window_selector.cc
@@ -179,7 +179,8 @@ gfx::Rect GetTextFilterPosition(WmWindow* root_window) {
kShellWindowId_DefaultContainer)));
return gfx::Rect(0.5 * (total_bounds.width() -
std::min(kTextFilterWidthMD, total_bounds.width())),
- total_bounds.height() * kTextFilterTopScreenProportion,
+ total_bounds.y() +
+ total_bounds.height() * kTextFilterTopScreenProportion,
std::min(kTextFilterWidthMD, total_bounds.width()),
kTextFilterHeightMD);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698