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

Unified Diff: ui/app_list/views/start_page_view.cc

Issue 871193006: Add a static Google Doodle to the experimental app list start page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_xiyuan_start_page
Patch Set: address_comments Created 5 years, 11 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 | « chrome/browser/ui/webui/app_list/start_page_browsertest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/start_page_view.cc
diff --git a/ui/app_list/views/start_page_view.cc b/ui/app_list/views/start_page_view.cc
index 6aec25bee42b31860be63a9fe074244aba2a5c11..01ea2d608ce84fb1433bf51dca21b478eb9109ae 100644
--- a/ui/app_list/views/start_page_view.cc
+++ b/ui/app_list/views/start_page_view.cc
@@ -30,14 +30,13 @@ namespace app_list {
namespace {
// Layout constants.
-const int kTopMargin = 84;
const int kInstantContainerSpacing = 11;
const int kSearchBoxAndTilesSpacing = 40;
const int kStartPageSearchBoxWidth = 480;
// WebView constants.
-const int kWebViewWidth = 500;
-const int kWebViewHeight = 105;
+const int kWebViewWidth = 700;
+const int kWebViewHeight = 189;
// Tile container constants.
const size_t kNumStartPageTiles = 4;
@@ -91,7 +90,7 @@ void StartPageView::InitInstantContainer() {
views::BoxLayout* instant_layout_manager = new views::BoxLayout(
views::BoxLayout::kVertical, 0, 0, kInstantContainerSpacing);
instant_layout_manager->set_inside_border_insets(
- gfx::Insets(kTopMargin, 0, kSearchBoxAndTilesSpacing, 0));
+ gfx::Insets(0, 0, kSearchBoxAndTilesSpacing, 0));
instant_layout_manager->set_main_axis_alignment(
views::BoxLayout::MAIN_AXIS_ALIGNMENT_END);
instant_layout_manager->set_cross_axis_alignment(
« no previous file with comments | « chrome/browser/ui/webui/app_list/start_page_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698