| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index 7cb45b44c016e28e61486cc4d13dc426b0198f97..ebd2d83e648c5da048caf2d069e2c11e000942cd 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -78,6 +78,12 @@
|
| #include "chrome/browser/android/offline_pages/recent_tab_helper.h"
|
| #include "chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h"
|
| #include "chrome/browser/android/voice_search_tab_helper.h"
|
| +
|
| +#include "device/vr/features/features.h" // nogncheck
|
| +#if BUILDFLAG(ENABLE_VR)
|
| +#include "chrome/browser/android/vr_shell/vr_tab_helper.h"
|
| +#endif // BUILDFLAG(ENABLE_VR)
|
| +
|
| #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h"
|
| #include "chrome/browser/ui/android/context_menu_helper.h"
|
| #include "chrome/browser/ui/android/view_android_helper.h"
|
| @@ -231,6 +237,11 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| SingleTabModeTabHelper::CreateForWebContents(web_contents);
|
| ViewAndroidHelper::CreateForWebContents(web_contents);
|
| VoiceSearchTabHelper::CreateForWebContents(web_contents);
|
| +
|
| +#if BUILDFLAG(ENABLE_VR)
|
| + vr_shell::VrTabHelper::CreateForWebContents(web_contents);
|
| +#endif
|
| +
|
| #else
|
| BookmarkTabHelper::CreateForWebContents(web_contents);
|
| extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
|
|
|