diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 21:29:42 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 21:29:42 +0000 |
commit | 4e78ee1663d14ef7a087cefbd644652e53b9bdcb (patch) | |
tree | c66e573df7b9fc04d329fa2709f8800c35166cf8 /chrome/browser/gtk/view_id_util.cc | |
parent | 9ddbcd95dd5c1e38a3b38cfc0c8c913a7610a8b9 (diff) | |
download | chromium_src-4e78ee1663d14ef7a087cefbd644652e53b9bdcb.zip chromium_src-4e78ee1663d14ef7a087cefbd644652e53b9bdcb.tar.gz chromium_src-4e78ee1663d14ef7a087cefbd644652e53b9bdcb.tar.bz2 |
Add more view ids and gtk widget names to so gtkparasite is
easier to navigate.
Review URL: http://codereview.chromium.org/221001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/view_id_util.cc')
-rw-r--r-- | chrome/browser/gtk/view_id_util.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/gtk/view_id_util.cc b/chrome/browser/gtk/view_id_util.cc index 9a8a875..264c91a 100644 --- a/chrome/browser/gtk/view_id_util.cc +++ b/chrome/browser/gtk/view_id_util.cc @@ -59,6 +59,9 @@ void SearchForWidgetWithViewID(GtkWidget* widget, gpointer data) { const char* GetNameFromID(ViewID id) { switch (id) { + case VIEW_ID_TAB_STRIP: + return "chrome-tab-strip"; + case VIEW_ID_TOOLBAR: return "chrome-toolbar"; @@ -101,6 +104,15 @@ const char* GetNameFromID(ViewID id) { case VIEW_ID_FIND_IN_PAGE_TEXT_FIELD: return "chrome-find-in-page-entry"; + case VIEW_ID_FIND_IN_PAGE: + return "chrome-find-in-page"; + + case VIEW_ID_DEV_TOOLS_DOCKED: + return "chrome-dev-tools-docked"; + + case VIEW_ID_DEV_EXTENSION_SHELF: + return "chrome-extension-shelf"; + // These are never hit because the tab container uses the delegate to // set its ID. case VIEW_ID_TAB_CONTAINER: |