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

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc

Issue 16286003: Increase omnibox size by 2 px. Increase nominal font size in omnibox to 16 px. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc (revision 203497)
+++ chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc (working copy)
@@ -22,7 +22,8 @@
SkColor text_color,
SkColor parent_background_color,
bool elide_in_middle)
- : background_painter_(new views::HorizontalPainter(background_images)),
+ : background_painter_(
+ views::Painter::CreateImageGridPainter(background_images)),
image_(new views::ImageView()),
label_(new views::Label()),
is_extension_icon_(false) {
@@ -43,7 +44,7 @@
// sit atop.
const SkBitmap& bitmap(
ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
- background_images[1])->GetRepresentation(
+ background_images[4])->GetRepresentation(
ui::SCALE_FACTOR_100P).sk_bitmap());
SkAutoLockPixels pixel_lock(bitmap);
SkColor background_image_color =
« no previous file with comments | « chrome/browser/ui/views/location_bar/ev_bubble_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698