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

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

Issue 2923043003: VR: Split off UI code into a library to ease future unit testing. (Closed)
Patch Set: Created 3 years, 6 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.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/ui_element.h b/chrome/browser/android/vr_shell/ui_elements/ui_element.h
index 328576ec118a8e1dece89b3c77f216bf32a63ee3..0a5b3544f93a7ac2836387424beae4862fd53cc4 100644
--- a/chrome/browser/android/vr_shell/ui_elements/ui_element.h
+++ b/chrome/browser/android/vr_shell/ui_elements/ui_element.h
@@ -22,7 +22,7 @@ class TimeTicks;
namespace vr_shell {
class Animation;
-class VrShellRenderer;
+class UiElementRenderer;
enum XAnchoring {
XNONE = 0,
@@ -107,7 +107,7 @@ class UiElement : public WorldRectangle {
// Indicates whether the element should be tested for cursor input.
bool IsHitTestable() const;
- virtual void Render(VrShellRenderer* renderer,
+ virtual void Render(UiElementRenderer* renderer,
vr::Mat4f view_proj_matrix) const;
virtual void Initialize();

Powered by Google App Engine
This is Rietveld 408576698