Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3046)

Unified Diff: chrome/browser/gtk/view_id_util.h

Issue 210019: GTK: Add a bunch more widget names for parasite.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: comments Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/gtk_chrome_link_button.cc ('k') | chrome/browser/gtk/view_id_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/view_id_util.h
===================================================================
--- chrome/browser/gtk/view_id_util.h (revision 26501)
+++ chrome/browser/gtk/view_id_util.h (working copy)
@@ -17,6 +17,8 @@
virtual GtkWidget* GetWidgetForViewID(ViewID id) = 0;
};
+ // If you set the ID via this function, it will also set the name of your
+ // widget to a human-readable value for debugging.
static void SetID(GtkWidget* widget, ViewID id);
static GtkWidget* GetWidget(GtkWidget* root, ViewID id);
« no previous file with comments | « chrome/browser/gtk/gtk_chrome_link_button.cc ('k') | chrome/browser/gtk/view_id_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698