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

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

Issue 2866853002: VR: Wire VrShell UI-related state to the scene manager. (Closed)
Patch Set: Created 3 years, 7 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
Index: chrome/browser/android/vr_shell/ui_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 7d78f93102acb744a5dbc94ea1f3004162112859..9472426a80a7d8f9465dc6d8ebd9e9d37bda3428 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -205,6 +205,9 @@ void UiSceneManager::OnAppButtonClicked() {
browser_->OnContentPaused(!content_rendering_enabled_);
}
+void UiSceneManager::OnAppButtonGesturePerformed(
+ UiInterface::Direction direction) {}
+
void UiSceneManager::ConfigureSecurityWarnings() {
bool enabled = web_vr_mode_ && !secure_origin_;
permanent_security_warning_->set_visible(enabled);
@@ -222,10 +225,21 @@ void UiSceneManager::OnSecurityWarningTimer() {
transient_security_warning_->set_visible(false);
}
-void UiSceneManager::OnUrlChange(const GURL& gurl) {
- url_bar_->SetGURL(gurl);
+void UiSceneManager::SetURL(const GURL& gurl) {
+ url_bar_->SetURL(gurl);
}
+void UiSceneManager::SetFullscreen(bool enabled) {}
+
+void UiSceneManager::SetSecurityLevel(int level) {}
+
+void UiSceneManager::SetLoading(bool loading) {}
+
+void UiSceneManager::SetLoadProgress(double progress) {}
+
+void UiSceneManager::SetHistoryButtonsEnabled(bool can_go_back,
+ bool can_go_forward) {}
+
int UiSceneManager::AllocateId() {
return next_available_id_++;
}

Powered by Google App Engine
This is Rietveld 408576698