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

Unified Diff: ash/common/wm/overview/window_selector_item.cc

Issue 2441043003: A few more cleanups to overview mode code related to the pre-MD version. (Closed)
Patch Set: Created 4 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 | « ash/common/wm/overview/scoped_transform_overview_window.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector_item.cc
diff --git a/ash/common/wm/overview/window_selector_item.cc b/ash/common/wm/overview/window_selector_item.cc
index c639777d50293e9fa11ae3404357d01814920adf..deb0151ffa274e228896c6c036e8c76ffdef8f2c 100644
--- a/ash/common/wm/overview/window_selector_item.cc
+++ b/ash/common/wm/overview/window_selector_item.cc
@@ -27,17 +27,14 @@
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
-#include "grit/ash_resources.h"
#include "grit/ash_strings.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/resource/resource_bundle.h"
#include "ui/compositor/layer_animation_sequence.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
#include "ui/gfx/animation/slide_animation.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/safe_integer_conversions.h"
-#include "ui/gfx/geometry/vector2d.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/transform_util.h"
#include "ui/gfx/vector_icons_public.h"
@@ -653,9 +650,6 @@ void WindowSelectorItem::CreateWindowLabel(const base::string16& title) {
transform_window_.window());
}
window_label_button_view_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
- window_label_button_view_->SetFontList(
- bundle.GetFontList(ui::ResourceBundle::BaseFont));
// Hint at the background color that the label will be drawn onto (for
// subpixel antialiasing). Does not actually set the background color.
window_label_button_view_->SetBackgroundColorHint(kLabelBackgroundColor);
« no previous file with comments | « ash/common/wm/overview/scoped_transform_overview_window.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698