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

Side by Side Diff: chrome/browser/ui/views/passwords/credentials_item_view.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/passwords/credentials_item_view.h" 5 #include "chrome/browser/ui/views/passwords/credentials_item_view.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h"
10 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" 10 #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
11 #include "chrome/browser/ui/views/harmony/chrome_typography.h" 11 #include "chrome/browser/ui/views/harmony/chrome_typography.h"
12 #include "chrome/grit/generated_resources.h"
13 #include "chrome/grit/theme_resources.h" 12 #include "chrome/grit/theme_resources.h"
14 #include "components/autofill/core/common/password_form.h" 13 #include "components/autofill/core/common/password_form.h"
15 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/canvas.h" 15 #include "ui/gfx/canvas.h"
17 #include "ui/gfx/path.h" 16 #include "ui/gfx/path.h"
18 #include "ui/views/border.h" 17 #include "ui/views/border.h"
19 #include "ui/views/bubble/tooltip_icon.h" 18 #include "ui/views/bubble/tooltip_icon.h"
20 #include "ui/views/controls/image_view.h" 19 #include "ui/views/controls/image_view.h"
21 #include "ui/views/controls/label.h" 20 #include "ui/views/controls/label.h"
22 21
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 child_area.CenterPoint().y() - info_icon_->height() / 2)); 193 child_area.CenterPoint().y() - info_icon_->height() / 2));
195 } 194 }
196 } 195 }
197 196
198 void CredentialsItemView::OnPaint(gfx::Canvas* canvas) { 197 void CredentialsItemView::OnPaint(gfx::Canvas* canvas) {
199 if (state() == STATE_PRESSED || state() == STATE_HOVERED) 198 if (state() == STATE_PRESSED || state() == STATE_HOVERED)
200 canvas->DrawColor(hover_color_); 199 canvas->DrawColor(hover_color_);
201 200
202 CustomButton::OnPaint(canvas); 201 CustomButton::OnPaint(canvas);
203 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698