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

Unified Diff: trunk/src/ui/app_list/app_list_folder_item.cc

Issue 35783003: Revert 230227 "Implement app list folder management page UI, inc..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | « trunk/src/ui/app_list/app_list_constants.cc ('k') | trunk/src/ui/app_list/views/app_list_folder_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/app_list/app_list_folder_item.cc
===================================================================
--- trunk/src/ui/app_list/app_list_folder_item.cc (revision 230254)
+++ trunk/src/ui/app_list/app_list_folder_item.cc (working copy)
@@ -15,7 +15,7 @@
const size_t kNumTopApps = 4;
const int kItemIconDimension = 16;
-// Generates the folder icon with the top 4 child item icons laid in 2x2 tile.
+// Genearats the folder icon with the top 4 child item icons laid in 2x2 tile.
class FolderImageSource : public gfx::CanvasImageSource {
public:
typedef std::vector<gfx::ImageSkia> Icons;
@@ -45,11 +45,11 @@
virtual void Draw(gfx::Canvas* canvas) OVERRIDE {
// Draw folder circle.
gfx::Point center = gfx::Point(size().width() / 2 , size().height() / 2);
- const SkColor kCircleColor = SkColorSetRGB(0xE1, 0xE1, 0xE1);
+ const SkColor kCirclColor = SkColorSetRGB(0xE1, 0xE1, 0xE1);
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setAntiAlias(true);
- paint.setColor(kCircleColor);
+ paint.setColor(kCirclColor);
canvas->DrawCircle(center, size().width() / 2, paint);
if (icons_.size() == 0)
@@ -144,7 +144,8 @@
}
void AppListFolderItem::Activate(int event_flags) {
- // Folder handling is implemented by the View, so do nothing.
+ // TODO(stevenjb/jennyz): Implement.
+ VLOG(1) << "AppListFolderItem::Activate";
}
// static
« no previous file with comments | « trunk/src/ui/app_list/app_list_constants.cc ('k') | trunk/src/ui/app_list/views/app_list_folder_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698