Chromium Code Reviews| Index: chrome/browser/android/vr_shell/vr_shell.cc |
| diff --git a/chrome/browser/android/vr_shell/vr_shell.cc b/chrome/browser/android/vr_shell/vr_shell.cc |
| index 13ab589b1e10a6f2993ce3b085fcbf0776d51df3..80683fac2fd9d9f288ff6c5c016e37ebd44a66cb 100644 |
| --- a/chrome/browser/android/vr_shell/vr_shell.cc |
| +++ b/chrome/browser/android/vr_shell/vr_shell.cc |
| @@ -34,6 +34,7 @@ |
| #include "chrome/browser/android/vr_shell/vr_web_contents_observer.h" |
| #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h" |
| #include "chrome/browser/media/webrtc/media_stream_capture_indicator.h" |
| +#include "content/public/browser/browser_context.h" |
| #include "content/public/browser/browser_thread.h" |
| #include "content/public/browser/navigation_controller.h" |
| #include "content/public/browser/render_view_host.h" |
| @@ -173,6 +174,7 @@ void VrShell::SetUiState() { |
| ui_->SetURL(web_contents_->GetVisibleURL()); |
| ui_->SetLoading(web_contents_->IsLoading()); |
| ui_->SetFullscreen(web_contents_->IsFullscreen()); |
| + ui_->SetIncognito(web_contents_->GetBrowserContext()->IsOffTheRecord()); |
|
cjgrant
2017/05/26 16:29:25
Shouldn't this be in the if() case above, setting
Ian Vollick
2017/05/27 00:30:18
Done.
|
| } |
| } |