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

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

Issue 2777633003: Avoid duplicate math when computing VR scene hierarchy. (Closed)
Patch Set: Rever the inheritable transform getter for now - we can make a struct-to-class change later if we w… Created 3 years, 9 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.h
diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h
index 4eef429f3374fc590c0108003ecaf7866047a1a1..4bcb6d88d29a490db659f71ee6a5720adfad48f4 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -20,7 +20,6 @@ namespace vr_shell {
class Animation;
struct ContentRectangle;
-struct Transform;
class UiScene {
public:
@@ -78,10 +77,7 @@ class UiScene {
bool GetWebVrRenderingEnabled() const;
private:
- void ApplyRecursiveTransforms(const ContentRectangle& element,
- Transform* transform,
- float* opacity,
- bool* lock_to_fov);
+ void ApplyRecursiveTransforms(ContentRectangle* element);
void ApplyDictToElement(const base::DictionaryValue& dict,
ContentRectangle* element);

Powered by Google App Engine
This is Rietveld 408576698