diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 21:39:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 21:39:16 +0000 |
commit | 2f4514d606aa6cb299517998438d4d93122986bd (patch) | |
tree | 2994a227511de4d2136cdfa21c31d5a1be6b7146 /chrome/browser/gtk/view_id_util.h | |
parent | 142e8a7a1d1de7ba1c601bdff823704f2acbc0fd (diff) | |
download | chromium_src-2f4514d606aa6cb299517998438d4d93122986bd.zip chromium_src-2f4514d606aa6cb299517998438d4d93122986bd.tar.gz chromium_src-2f4514d606aa6cb299517998438d4d93122986bd.tar.bz2 |
GTK: Add a bunch more widget names for parasite.
Also, change slightly how we apply custom styles to certain buttons.
BUG=22096
Review URL: http://codereview.chromium.org/210019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/view_id_util.h')
-rw-r--r-- | chrome/browser/gtk/view_id_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/view_id_util.h b/chrome/browser/gtk/view_id_util.h index 1ec65e8..23e67a6 100644 --- a/chrome/browser/gtk/view_id_util.h +++ b/chrome/browser/gtk/view_id_util.h @@ -17,6 +17,8 @@ class ViewIDUtil { 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); |