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

Unified Diff: chrome/browser/android/vr_shell/ui_interface.cc

Issue 2536223002: Omnibox improvements and fixes. (Closed)
Patch Set: Make unit tests compile by including chrome/browser and blink. Created 4 years 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
Index: chrome/browser/android/vr_shell/ui_interface.cc
diff --git a/chrome/browser/android/vr_shell/ui_interface.cc b/chrome/browser/android/vr_shell/ui_interface.cc
index c4989934465c9a72f2e59b420b5e9d31b0c2863f..59e5c459ce5df7b285a333b072590aad36067d1f 100644
--- a/chrome/browser/android/vr_shell/ui_interface.cc
+++ b/chrome/browser/android/vr_shell/ui_interface.cc
@@ -38,8 +38,13 @@ void UiInterface::FlushModeState() {
FlushUpdates();
}
-void UiInterface::SetSecureOrigin(bool secure) {
- updates_.SetBoolean("secureOrigin", secure);
+void UiInterface::SetSecurityLevel(int level) {
+ updates_.SetInteger("securityLevel", level);
+ FlushUpdates();
+}
+
+void UiInterface::SetWebVRSecureOrigin(bool secure) {
+ updates_.SetBoolean("webVRSecureOrigin", secure);
FlushUpdates();
}

Powered by Google App Engine
This is Rietveld 408576698