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

Unified Diff: ui/app_list/drop_shadow_label.cc

Issue 10657014: app_list: Remove unnecessary using declaration from drop_shadow_label.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/drop_shadow_label.cc
diff --git a/ui/app_list/drop_shadow_label.cc b/ui/app_list/drop_shadow_label.cc
index 64cffbb733db7b3aa6671dff5d0175d25d9b634d..3c876c3c0b60dbec377e7fd80bf8567bf9578c24 100644
--- a/ui/app_list/drop_shadow_label.cc
+++ b/ui/app_list/drop_shadow_label.cc
@@ -4,14 +4,8 @@
#include "ui/app_list/drop_shadow_label.h"
-#include "base/utf_string_conversions.h"
-#include "third_party/skia/include/effects/SkGradientShader.h"
#include "ui/gfx/canvas.h"
-#include "ui/gfx/color_utils.h"
#include "ui/gfx/insets.h"
-#include "ui/gfx/skbitmap_operations.h"
-
-using views::Label;
namespace app_list {
@@ -54,8 +48,8 @@ void DropShadowLabel::PaintText(gfx::Canvas* canvas,
if (HasFocus() || paint_as_focused()) {
gfx::Rect focus_bounds = text_bounds;
- focus_bounds.Inset(-Label::kFocusBorderPadding,
- -Label::kFocusBorderPadding);
+ focus_bounds.Inset(-views::Label::kFocusBorderPadding,
+ -views::Label::kFocusBorderPadding);
canvas->DrawFocusRect(focus_bounds);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698