| Index: chrome/browser/android/vr_shell/vr_shell.h
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
|
| index f69f2b7f2518161945e3d3c9f65db6682e486b31..ad42ddcf4adb27594c450b40697909ada5e597fd 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.h
|
| @@ -19,6 +19,7 @@
|
| #include "chrome/browser/vr/ui_interface.h"
|
| #include "chrome/browser/vr/ui_unsupported_mode.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| +#include "device/geolocation/public/interfaces/geolocation_config.mojom.h"
|
| #include "device/vr/android/gvr/cardboard_gamepad_data_provider.h"
|
| #include "device/vr/android/gvr/gvr_delegate.h"
|
| #include "device/vr/android/gvr/gvr_gamepad_data_provider.h"
|
| @@ -161,6 +162,7 @@ class VrShell : public device::GvrDelegate,
|
| void DoUiAction(const UiAction action,
|
| const base::DictionaryValue* arguments);
|
|
|
| + void SetHighAccuracyLocation(bool high_accuracy_location);
|
| void SetContentCssSize(float width, float height, float dpr);
|
|
|
| void ContentFrameWasResized(bool width_changed);
|
| @@ -235,6 +237,8 @@ class VrShell : public device::GvrDelegate,
|
| vr::UiInterface* ui_;
|
| std::unique_ptr<vr::ToolbarHelper> toolbar_;
|
|
|
| + device::mojom::GeolocationConfigPtr geolocation_config_;
|
| +
|
| jobject content_surface_ = nullptr;
|
| bool taken_surface_ = false;
|
| base::CancelableClosure poll_capturing_media_task_;
|
| @@ -242,6 +246,7 @@ class VrShell : public device::GvrDelegate,
|
| bool is_capturing_video_ = false;
|
| bool is_capturing_screen_ = false;
|
| bool is_bluetooth_connected_ = false;
|
| + bool high_accuracy_location_ = false;
|
|
|
| // Are we currently providing a gamepad factory to the gamepad manager?
|
| bool gvr_gamepad_source_active_ = false;
|
|
|