diff options
Diffstat (limited to 'extensions/browser/view_type_utils.cc')
-rw-r--r-- | extensions/browser/view_type_utils.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/browser/view_type_utils.cc b/extensions/browser/view_type_utils.cc index ba72ceb..933d669 100644 --- a/extensions/browser/view_type_utils.cc +++ b/extensions/browser/view_type_utils.cc @@ -6,6 +6,7 @@ #include "base/lazy_instance.h" #include "content/public/browser/web_contents.h" +#include "extensions/browser/extensions_browser_client.h" using content::WebContents; @@ -39,6 +40,8 @@ ViewType GetViewType(WebContents* tab) { void SetViewType(WebContents* tab, ViewType type) { tab->SetUserData(&kViewTypeUserDataKey, new ViewTypeUserData(type)); + + ExtensionsBrowserClient::Get()->AttachExtensionTaskManagerTag(tab, type); } } // namespace extensions |