| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/autocomplete/autocomplete_popup_view_gtk.h" | 5 #include "chrome/browser/autocomplete/autocomplete_popup_view_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 is_selected ? &kDescriptionSelectedTextColor : | 462 is_selected ? &kDescriptionSelectedTextColor : |
| 463 &kDescriptionTextColor, | 463 &kDescriptionTextColor, |
| 464 std::string(" - ")); | 464 std::string(" - ")); |
| 465 | 465 |
| 466 gdk_draw_layout(drawable, gc, | 466 gdk_draw_layout(drawable, gc, |
| 467 kIconAreaWidth + actual_content_width, content_y, | 467 kIconAreaWidth + actual_content_width, content_y, |
| 468 layout_); | 468 layout_); |
| 469 } | 469 } |
| 470 } | 470 } |
| 471 | 471 |
| 472 g_object_unref(gc); |
| 473 |
| 472 return TRUE; | 474 return TRUE; |
| 473 } | 475 } |
| OLD | NEW |