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

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

Issue 2862283002: VR: Add initial URL bar element and texture. (Closed)
Patch Set: Drop anti-aliasing. 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.h
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.h b/chrome/browser/android/vr_shell/ui_scene_manager.h
index b1729d2742fb3dae77fb7321ddb4eff0551699fd..53f7e5d593459786b7406f1690a7cf1775a61131 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.h
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.h
@@ -9,11 +9,13 @@
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
#include "base/values.h"
+#include "url/gurl.h"
namespace vr_shell {
class UiElement;
class UiScene;
+class UrlBar;
class VrBrowserInterface;
class UiSceneManager {
@@ -27,11 +29,13 @@ class UiSceneManager {
void SetWebVRMode(bool web_vr);
void OnAppButtonClicked();
+ void OnUrlChange(const GURL& gurl);
private:
void CreateSecurityWarnings();
void CreateContentQuad();
void CreateBackground();
+ void CreateUrlBar();
void ConfigureSecurityWarnings();
void OnSecurityWarningTimer();
@@ -44,6 +48,7 @@ class UiSceneManager {
UiElement* permanent_security_warning_ = nullptr;
UiElement* transient_security_warning_ = nullptr;
UiElement* main_content_ = nullptr;
+ UrlBar* url_bar_ = nullptr;
bool web_vr_mode_ = false;
bool secure_origin_ = false;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/url_bar.cc ('k') | chrome/browser/android/vr_shell/ui_scene_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698