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 98f21933b505f650ca826afce5fb1dec91b9e7f5..6f10b1d942a3c6991b0a00b1e24fd369e43476ef 100644 |
--- a/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
+++ b/chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc |
@@ -59,6 +59,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; |
@@ -135,7 +138,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; |
} |