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

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: reformat 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 7b73bc241d21429f7f376ccfdea34e0617159554..a82234b6a62cd840a1de84b1d91e77d9a854c893 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"
@@ -526,7 +527,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));
}
« no previous file with comments | « athena/home/DEPS ('k') | athena/main/DEPS » ('j') | extensions/shell/app_shell.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698