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

Unified Diff: ash/wm/overview/window_grid.cc

Issue 878173002: Removed kAshDisableTextFilteringInOverviewMode flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 5 years, 11 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 | « ash/ash_switches.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_grid.cc
diff --git a/ash/wm/overview/window_grid.cc b/ash/wm/overview/window_grid.cc
index b605ad585319ef796676e3f3b0fcfcd08b0974f6..a03966ab735fe606208b52407aef1fe205552813 100644
--- a/ash/wm/overview/window_grid.cc
+++ b/ash/wm/overview/window_grid.cc
@@ -162,16 +162,9 @@ void WindowGrid::PositionWindows(bool animate) {
ScreenUtil::GetDisplayWorkAreaBoundsInParent(
Shell::GetContainer(root_window_, kShellWindowId_DefaultContainer)));
- // If the text filtering feature is enabled, reserve space at the top for the
- // text filtering textbox to appear.
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshDisableTextFilteringInOverviewMode)) {
- total_bounds.Inset(
- 0,
- WindowSelector::kTextFilterBottomEdge + kTextFilterBottomMargin,
- 0,
- 0);
- }
+ // Reserve space at the top for the text filtering textbox to appear.
+ total_bounds.Inset(
+ 0, WindowSelector::kTextFilterBottomEdge + kTextFilterBottomMargin, 0, 0);
// Find the minimum number of windows per row that will fit all of the
// windows on screen.
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698