Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4461)

Unified Diff: chrome/browser/vr/vr_tab_helper.cc

Issue 2975593002: [vr] Deny permission requests in VR mode
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/vr/vr_tab_helper.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/vr/vr_tab_helper.cc
diff --git a/chrome/browser/android/vr_shell/vr_tab_helper.cc b/chrome/browser/vr/vr_tab_helper.cc
similarity index 80%
rename from chrome/browser/android/vr_shell/vr_tab_helper.cc
rename to chrome/browser/vr/vr_tab_helper.cc
index 20372ea0b463d2a42180bf9bc4f8ddb9b584464c..b8f14db6391ba83093dfb679cc231af2ef4b1734 100644
--- a/chrome/browser/android/vr_shell/vr_tab_helper.cc
+++ b/chrome/browser/vr/vr_tab_helper.cc
@@ -2,19 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/android/vr_shell/vr_tab_helper.h"
+#include "chrome/browser/vr/vr_tab_helper.h"
-#include "chrome/browser/android/vr_shell/vr_shell_delegate.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/common/web_preferences.h"
-#include "device/vr/android/gvr/gvr_delegate_provider.h"
using content::WebContents;
using content::WebPreferences;
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(vr_shell::VrTabHelper);
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(vr::VrTabHelper);
-namespace vr_shell {
+namespace vr {
VrTabHelper::VrTabHelper(content::WebContents* contents)
: web_contents_(contents) {}
@@ -44,4 +42,4 @@ bool VrTabHelper::IsInVr(content::WebContents* contents) {
return vr_tab_helper->is_in_vr();
}
-} // namespace vr_shell
+} // namespace vr
« no previous file with comments | « chrome/browser/vr/vr_tab_helper.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698