| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gtk/browser_toolbar_gtk.h" | 5 #include "chrome/browser/gtk/browser_toolbar_gtk.h" |
| 6 | 6 |
| 7 #include <X11/XF86keysym.h> | 7 #include <X11/XF86keysym.h> |
| 8 #include <gdk/gdkkeysyms.h> | 8 #include <gdk/gdkkeysyms.h> |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 int x_offset = base::i18n::IsRTL() ? 0 : | 652 int x_offset = base::i18n::IsRTL() ? 0 : |
| 653 sender->allocation.width - badge->width(); | 653 sender->allocation.width - badge->width(); |
| 654 int y_offset = 0; | 654 int y_offset = 0; |
| 655 canvas.DrawBitmapInt( | 655 canvas.DrawBitmapInt( |
| 656 *badge, | 656 *badge, |
| 657 sender->allocation.x + x_offset, | 657 sender->allocation.x + x_offset, |
| 658 sender->allocation.y + y_offset); | 658 sender->allocation.y + y_offset); |
| 659 | 659 |
| 660 return FALSE; | 660 return FALSE; |
| 661 } | 661 } |
| OLD | NEW |