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

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

Issue 2807293002: VR: Rename ContentRectangle to UiElement (Closed)
Patch Set: Rebase onto Michael's landed GVR types CL. 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
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/ui_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_element.h
diff --git a/chrome/browser/android/vr_shell/ui_elements.h b/chrome/browser/android/vr_shell/ui_element.h
similarity index 93%
rename from chrome/browser/android/vr_shell/ui_elements.h
rename to chrome/browser/android/vr_shell/ui_element.h
index a59906884d840ec22befa862328963f7a9e01c49..796c1f934ffed95f9960c5664e0a1d28e35a8376 100644
--- a/chrome/browser/android/vr_shell/ui_elements.h
+++ b/chrome/browser/android/vr_shell/ui_element.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_H_
-#define CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_H_
+#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENT_H_
+#define CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENT_H_
#include <memory>
#include <string>
@@ -86,9 +86,9 @@ class WorldRectangle {
Transform transform_;
};
-struct ContentRectangle : public WorldRectangle {
- ContentRectangle();
- ~ContentRectangle();
+struct UiElement : public WorldRectangle {
+ UiElement();
+ ~UiElement();
void Animate(const base::TimeTicks& time);
@@ -168,9 +168,9 @@ struct ContentRectangle : public WorldRectangle {
bool dirty;
private:
- DISALLOW_COPY_AND_ASSIGN(ContentRectangle);
+ DISALLOW_COPY_AND_ASSIGN(UiElement);
};
} // namespace vr_shell
-#endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_H_
+#endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENT_H_
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/ui_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698