Index: chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
index 75d00f19483d6b231f1d8de056e248d1ec3940f0..4c588bf79b0289c701316dacd57e73078fde0b86 100644 |
--- a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc |
@@ -10,6 +10,7 @@ |
#include <vector> |
#include "base/bind.h" |
+#include "base/debug/trace_event.h" |
#include "base/message_loop.h" |
#include "base/string_util.h" |
#include "chrome/browser/extensions/extension_host.h" |
@@ -413,6 +414,7 @@ void BalloonViewImpl::OnCloseButton(GtkWidget* widget) { |
// HTML view cut off the roundedness of the notification window. |
gboolean BalloonViewImpl::OnContentsExpose(GtkWidget* sender, |
GdkEventExpose* event) { |
+ TRACE_EVENT0("ui::gtk", "BalloonViewImpl::OnContentsExpose"); |
cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(sender->window)); |
gdk_cairo_rectangle(cr, &event->area); |
cairo_clip(cr); |
@@ -436,6 +438,7 @@ gboolean BalloonViewImpl::OnContentsExpose(GtkWidget* sender, |
} |
gboolean BalloonViewImpl::OnExpose(GtkWidget* sender, GdkEventExpose* event) { |
+ TRACE_EVENT0("ui::gtk", "BalloonViewImpl::OnExpose"); |
cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(sender->window)); |
gdk_cairo_rectangle(cr, &event->area); |
cairo_clip(cr); |