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

Side by Side Diff: chrome/browser/ui/views/location_bar/origin_chip_view.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 | Annotate | Revision Log
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/location_bar/origin_chip_view.h" 5 #include "chrome/browser/ui/views/location_bar/origin_chip_view.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/common/extensions/extension_constants.h" 26 #include "chrome/common/extensions/extension_constants.h"
27 #include "content/public/browser/user_metrics.h" 27 #include "content/public/browser/user_metrics.h"
28 #include "content/public/browser/web_contents.h" 28 #include "content/public/browser/web_contents.h"
29 #include "content/public/common/url_constants.h" 29 #include "content/public/common/url_constants.h"
30 #include "extensions/browser/extension_icon_image.h" 30 #include "extensions/browser/extension_icon_image.h"
31 #include "extensions/browser/extension_system.h" 31 #include "extensions/browser/extension_system.h"
32 #include "extensions/common/constants.h" 32 #include "extensions/common/constants.h"
33 #include "extensions/common/manifest_handlers/icons_handler.h" 33 #include "extensions/common/manifest_handlers/icons_handler.h"
34 #include "grit/generated_resources.h" 34 #include "grit/generated_resources.h"
35 #include "grit/theme_resources.h" 35 #include "grit/theme_resources.h"
36 #include "ui/base/l10n/l10n_util.h"
37 #include "ui/base/resource/resource_bundle.h" 36 #include "ui/base/resource/resource_bundle.h"
38 #include "ui/base/theme_provider.h" 37 #include "ui/base/theme_provider.h"
39 #include "ui/gfx/canvas.h" 38 #include "ui/gfx/canvas.h"
40 #include "ui/gfx/font_list.h" 39 #include "ui/gfx/font_list.h"
41 #include "ui/gfx/text_utils.h" 40 #include "ui/gfx/text_utils.h"
42 #include "ui/views/background.h" 41 #include "ui/views/background.h"
43 #include "ui/views/controls/button/label_button.h" 42 #include "ui/views/controls/button/label_button.h"
44 #include "ui/views/controls/button/label_button_border.h" 43 #include "ui/views/controls/button/label_button_border.h"
45 #include "ui/views/painter.h" 44 #include "ui/views/painter.h"
46 45
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 409
411 // Note: When OnSafeBrowsingHit would be called, OnSafeBrowsingMatch will 410 // Note: When OnSafeBrowsingHit would be called, OnSafeBrowsingMatch will
412 // have already been called. 411 // have already been called.
413 void OriginChipView::OnSafeBrowsingHit( 412 void OriginChipView::OnSafeBrowsingHit(
414 const SafeBrowsingUIManager::UnsafeResource& resource) {} 413 const SafeBrowsingUIManager::UnsafeResource& resource) {}
415 414
416 void OriginChipView::OnSafeBrowsingMatch( 415 void OriginChipView::OnSafeBrowsingMatch(
417 const SafeBrowsingUIManager::UnsafeResource& resource) { 416 const SafeBrowsingUIManager::UnsafeResource& resource) {
418 OnChanged(); 417 OnChanged();
419 } 418 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698