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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/ui_element.cc

Issue 2834543006: Hook up insecure content warnings for http webVR presentation. (Closed)
Patch Set: rebase Created 3 years, 8 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_elements/ui_element.cc
diff --git a/chrome/browser/android/vr_shell/ui_element.cc b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
similarity index 96%
rename from chrome/browser/android/vr_shell/ui_element.cc
rename to chrome/browser/android/vr_shell/ui_elements/ui_element.cc
index 8b8c25a3e58d9e1aad8e6d7e08f7df8f22cc9901..42d4c37ea022a8ddd8564144e7dcb22fe4501fa0 100644
--- a/chrome/browser/android/vr_shell/ui_element.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/android/vr_shell/ui_element.h"
+#include "chrome/browser/android/vr_shell/ui_elements/ui_element.h"
#include <limits>
@@ -105,6 +105,13 @@ UiElement::UiElement() = default;
UiElement::~UiElement() = default;
+void UiElement::Render(VrShellRenderer* renderer,
+ vr::Mat4f view_proj_matrix) const {
+ NOTREACHED();
+}
+
+void UiElement::Initialize() {}
+
void UiElement::Animate(const base::TimeTicks& time) {
for (auto& it : animations) {
Animation& animation = *it;

Powered by Google App Engine
This is Rietveld 408576698