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

Unified Diff: athena/wm/window_overview_mode.cc

Issue 715053003: Introduce system_info as an independent container. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup includes Created 6 years, 1 month 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 | « athena/util/container_priorities.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_overview_mode.cc
diff --git a/athena/wm/window_overview_mode.cc b/athena/wm/window_overview_mode.cc
index 6a3a55f50d787c868633e0df24a575adadf21a90..2f39c415528ee94094b724ecd2e718cf31858261 100644
--- a/athena/wm/window_overview_mode.cc
+++ b/athena/wm/window_overview_mode.cc
@@ -7,6 +7,7 @@
#include <complex>
#include <vector>
+#include "athena/util/athena_constants.h"
#include "athena/wm/overview_toolbar.h"
#include "athena/wm/public/window_list_provider.h"
#include "athena/wm/public/window_list_provider_observer.h"
@@ -363,7 +364,8 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
const int kGapBetweenWindowsBottom = 10;
const int kGapBetweenWindowsTop = 5;
- int top = (window_count - index - 1) * kGapBetweenWindowsTop;
+ int top =
+ (window_count - index - 1) * kGapBetweenWindowsTop + kSystemUIHeight;
int bottom = GetScrollableHeight() - (index * kGapBetweenWindowsBottom);
WindowOverviewState* state = window->GetProperty(kWindowOverviewState);
« no previous file with comments | « athena/util/container_priorities.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698