Index: chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
diff --git a/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc b/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
index 9bab6cfabc3f0248937846c0f9fb9e9873cb8768..ccc429ec3be9706bfaf72cbe9239ab3b71635a99 100644 |
--- a/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
+++ b/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
@@ -58,6 +58,9 @@ InspectableViewsFinder::View InspectableViewsFinder::ConstructView( |
case VIEW_TYPE_EXTENSION_POPUP: |
view->type = api::developer_private::VIEW_TYPE_EXTENSION_POPUP; |
break; |
+ case VIEW_TYPE_EXTENSION_SIDEBAR: |
+ view->type = api::developer_private::VIEW_TYPE_EXTENSION_SIDEBAR; |
+ break; |
case VIEW_TYPE_LAUNCHER_PAGE: |
view->type = api::developer_private::VIEW_TYPE_LAUNCHER_PAGE; |
break; |
@@ -134,7 +137,8 @@ void InspectableViewsFinder::GetViewsForExtensionProcess( |
content::WebContents::FromRenderFrameHost(host); |
ViewType host_type = GetViewType(web_contents); |
if (host_type == VIEW_TYPE_EXTENSION_POPUP || |
- host_type == VIEW_TYPE_EXTENSION_DIALOG) { |
+ host_type == VIEW_TYPE_EXTENSION_DIALOG || |
+ host_type == VIEW_TYPE_EXTENSION_SIDEBAR) { |
continue; |
} |