Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
index 30a04f96d7e86a6bc11951db119736f475b33965..06a8e3fb4921e984c02a97a10ed6617449f2f259 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/bind.h" |
+#include "base/debug/trace_event.h" |
#include "base/i18n/rtl.h" |
#include "base/logging.h" |
#include "base/string_util.h" |
@@ -1377,6 +1378,9 @@ gboolean LocationBarViewGtk::ContentSettingImageViewGtk::OnButtonPressed( |
gboolean LocationBarViewGtk::ContentSettingImageViewGtk::OnExpose( |
GtkWidget* sender, GdkEventExpose* event) { |
+ TRACE_EVENT0("ui::gtk", |
+ "LocationBarViewGtk::ContentSettingImageViewGtk::OnExpose"); |
+ |
if (!(animation_.IsShowing() || animation_.IsClosing())) |
return FALSE; |
@@ -1621,6 +1625,7 @@ gboolean LocationBarViewGtk::PageActionViewGtk::OnButtonPressed( |
gboolean LocationBarViewGtk::PageActionViewGtk::OnExposeEvent( |
GtkWidget* widget, |
GdkEventExpose* event) { |
+ TRACE_EVENT0("ui::gtk", "LocationBarViewGtk::PageActionViewGtk::OnExpose"); |
TabContents* contents = owner_->GetTabContents(); |
if (!contents) |
return FALSE; |