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

Unified Diff: athena/home/home_card_constants.cc

Issue 502583002: Exports gesture manager to a separate file and adds its unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const 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
« no previous file with comments | « athena/home/home_card_constants.h ('k') | athena/home/home_card_gesture_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_constants.cc
diff --git a/athena/activity/activity.cc b/athena/home/home_card_constants.cc
similarity index 54%
copy from athena/activity/activity.cc
copy to athena/home/home_card_constants.cc
index 6a33f02cb33be1877bb43b4e20875f909ae38c8c..38596c4650571cb3914fa106144a5629978c2489 100644
--- a/athena/activity/activity.cc
+++ b/athena/home/home_card_constants.cc
@@ -2,14 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "athena/activity/public/activity.h"
-
-#include "athena/activity/public/activity_manager.h"
+#include "athena/home/home_card_constants.h"
namespace athena {
-Activity::~Activity() {
- ActivityManager::Get()->RemoveActivity(this);
-}
+const int kHomeCardHeight = 100;
+const int kHomeCardMinimizedHeight = 6;
} // namespace athena
« no previous file with comments | « athena/home/home_card_constants.h ('k') | athena/home/home_card_gesture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698