Index: chrome/browser/ui/gtk/find_bar_gtk.cc |
diff --git a/chrome/browser/ui/gtk/find_bar_gtk.cc b/chrome/browser/ui/gtk/find_bar_gtk.cc |
index 07caea5a5a6c7a13bf64c3a76201358b48586599..f09d62817df8343c022b2aaede8e4f5f1375c580 100644 |
--- a/chrome/browser/ui/gtk/find_bar_gtk.cc |
+++ b/chrome/browser/ui/gtk/find_bar_gtk.cc |
@@ -10,6 +10,7 @@ |
#include <string> |
#include <vector> |
+#include "base/debug/trace_event.h" |
#include "base/i18n/rtl.h" |
#include "base/string_number_conversions.h" |
#include "base/string_util.h" |
@@ -810,6 +811,7 @@ void FindBarGtk::OnClicked(GtkWidget* button) { |
gboolean FindBarGtk::OnContentEventBoxExpose(GtkWidget* widget, |
GdkEventExpose* event, |
FindBarGtk* bar) { |
+ TRACE_EVENT0("ui::gtk", "FindBarGtk::OnContentEventBoxExpose"); |
if (bar->theme_service_->UsingNativeTheme()) { |
// Draw the text entry background around where we input stuff. Note the |
// decrement to |width|. We do this because some theme engines |
@@ -830,6 +832,8 @@ gboolean FindBarGtk::OnContentEventBoxExpose(GtkWidget* widget, |
// Used to handle custom painting of |container_|. |
gboolean FindBarGtk::OnExpose(GtkWidget* widget, GdkEventExpose* e, |
FindBarGtk* bar) { |
+ TRACE_EVENT0("ui::gtk", "FindBarGtk::OnExpose"); |
+ |
GtkAllocation allocation; |
gtk_widget_get_allocation(widget, &allocation); |