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

Unified Diff: athena/home/home_card_impl.cc

Issue 480353006: Separate athena's startup process from AppShell's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: athena/home/home_card_impl.cc
diff --git a/athena/home/home_card_impl.cc b/athena/home/home_card_impl.cc
index 042ff6ce971ff71b88eb52496f256b028e4b6671..17ecfc4203e670f6a67c60e97042409f3f16fa3b 100644
--- a/athena/home/home_card_impl.cc
+++ b/athena/home/home_card_impl.cc
@@ -8,6 +8,7 @@
#include <limits>
#include "athena/common/container_priorities.h"
+#include "athena/env/public/athena_env.h"
#include "athena/home/app_list_view_delegate.h"
#include "athena/home/athena_start_page_view.h"
#include "athena/home/minimized_home.h"
@@ -528,7 +529,7 @@ void HomeCardImpl::Init() {
int work_area_bottom_inset =
GetBoundsForState(GetNativeWindow()->bounds(),
HomeCard::VISIBLE_MINIMIZED).height();
- ScreenManager::Get()->SetWorkAreaInsets(
+ AthenaEnv::Get()->SetDisplayWorkAreaInsets(
gfx::Insets(0, 0, work_area_bottom_inset, 0));
}

Powered by Google App Engine
This is Rietveld 408576698