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

Unified Diff: athena/main/placeholder.cc

Issue 287253003: Add initial home card impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/main/athena_main.cc ('k') | athena/screen/public/screen_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/placeholder.cc
diff --git a/athena/main/placeholder.cc b/athena/main/placeholder.cc
index 0b0d359b3d7c5bbd9bdd7b85bc29e3e900b32a45..eb5c3f65c356f0b6126589c2b03e5b477b7f7178 100644
--- a/athena/main/placeholder.cc
+++ b/athena/main/placeholder.cc
@@ -16,6 +16,7 @@
#include "ui/views/widget/widget.h"
void CreateTestWindows() {
+ const int kAppWindowBackgroundColor = 0xFFDDDDDD;
views::Widget* test_app_widget = new views::Widget;
// Athena doesn't have frame yet.
views::Widget::InitParams params(
@@ -25,7 +26,7 @@ void CreateTestWindows() {
views::Label* label = new views::Label;
label->SetText(base::ASCIIToUTF16("AppWindow"));
label->set_background(
- views::Background::CreateSolidBackground(SK_ColorWHITE));
+ views::Background::CreateSolidBackground(kAppWindowBackgroundColor));
test_app_widget->SetContentsView(label);
test_app_widget->Show();
}
« no previous file with comments | « athena/main/athena_main.cc ('k') | athena/screen/public/screen_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698