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

Side by Side Diff: chrome/browser/ui/omnibox/location_bar_util.cc

Issue 16629005: Use a direct include of strings headers in chrome/browser/ui/b*-p*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/omnibox/location_bar_util.h" 5 #include "chrome/browser/ui/omnibox/location_bar_util.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "chrome/browser/extensions/extension_action.h" 9 #include "chrome/browser/extensions/extension_action.h"
10 #include "third_party/skia/include/core/SkPaint.h" 10 #include "third_party/skia/include/core/SkPaint.h"
11 #include "third_party/skia/include/effects/SkGradientShader.h" 11 #include "third_party/skia/include/effects/SkGradientShader.h"
12 #include "ui/base/text/text_elider.h" 12 #include "ui/base/text/text_elider.h"
13 #include "ui/gfx/canvas.h" 13 #include "ui/gfx/canvas.h"
14 #include "ui/gfx/color_utils.h" 14 #include "ui/gfx/color_utils.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 16
17 namespace location_bar_util { 17 namespace location_bar_util {
18 18
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 gfx::Point(bounds.x(), bounds.bottom()), 63 gfx::Point(bounds.x(), bounds.bottom()),
64 border_color); 64 border_color);
65 // "-1" because gfx::Rects are half-open, not including their right or 65 // "-1" because gfx::Rects are half-open, not including their right or
66 // bottom edges. 66 // bottom edges.
67 canvas->DrawLine(gfx::Point(bounds.right() - 1, bounds.y()), 67 canvas->DrawLine(gfx::Point(bounds.right() - 1, bounds.y()),
68 gfx::Point(bounds.right() - 1, bounds.bottom()), 68 gfx::Point(bounds.right() - 1, bounds.bottom()),
69 border_color); 69 border_color);
70 } 70 }
71 71
72 } // namespace location_bar_util 72 } // namespace location_bar_util
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/location_bar_util.h ('k') | chrome/browser/ui/omnibox/omnibox_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698