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

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

Issue 390273002: Experimental app list banner now appears on top of launcher pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Avoid making two calls to set position. Created 6 years, 5 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 | « no previous file | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_background.cc
diff --git a/ui/app_list/views/app_list_background.cc b/ui/app_list/views/app_list_background.cc
index aca3f75f23e9bc2ae51be04c409ddfd38d437837..0b3b7ce38f25f5aa9304487590edd88981d3a226 100644
--- a/ui/app_list/views/app_list_background.cc
+++ b/ui/app_list/views/app_list_background.cc
@@ -5,7 +5,6 @@
#include "ui/app_list/views/app_list_background.h"
#include "base/command_line.h"
-#include "grit/ui_resources.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/app_list/app_list_constants.h"
@@ -102,15 +101,6 @@ void AppListBackground::Paint(gfx::Canvas* canvas,
paint.setColor(kContentsSwitcherBackgroundColor);
canvas->DrawRect(contents_switcher_rect, paint);
}
-
- // Draw a banner in the corner of the app list if it is the experimental app
- // list.
- const gfx::ImageSkia& experimental_icon =
- *ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
- IDR_APP_LIST_EXPERIMENTAL_ICON);
- canvas->DrawImageInt(experimental_icon,
- contents_rect.right() - experimental_icon.width(),
- contents_rect.bottom() - experimental_icon.height());
}
canvas->Restore();
« no previous file with comments | « no previous file | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698