Chromium Code Reviews| 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 fc729301fc8178ae029a93ef1b4b4d0b534fb700..b726e8f5094f9b35eed95ce9e2ac0dc8f9827539 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/android/vr_shell/vr_controller_model.h" |
| #include "chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h" |
| #include "content/public/browser/web_contents_observer.h" |
| +#include "device/geolocation/public/interfaces/geolocation_manager.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" |
| @@ -158,6 +159,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); |
| @@ -232,6 +234,8 @@ class VrShell : public device::GvrDelegate, |
| UiInterface* ui_; |
| std::unique_ptr<ToolbarHelper> toolbar_; |
| + device::mojom::GeolocationManagerPtr geolocation_manager_ptr; |
|
blundell
2017/07/11 09:08:33
naming nit: geolocation_manager_
asimjour1
2017/07/11 15:04:12
Done.
|
| + |
| jobject content_surface_ = nullptr; |
| bool taken_surface_ = false; |
| base::CancelableClosure poll_capturing_media_task_; |
| @@ -239,6 +243,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; |