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

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

Issue 2957173002: Update toast behavior and apperance according to UX requirement (Closed)
Patch Set: review 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/simple_textured_element.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h b/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
index 4494bbc8c9ed75732b1e4905eca7c3ff6cf1659c..2b42a2e611182e9f3fc35cff1d0742cf02f1e669 100644
--- a/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
+++ b/chrome/browser/android/vr_shell/ui_elements/simple_textured_element.h
@@ -30,8 +30,10 @@ class SimpleTexturedElement : public TexturedElement {
~SimpleTexturedElement() override {}
T* GetDerivedTexture() { return texture_.get(); }
- private:
+ protected:
UiTexture* GetTexture() const override { return texture_.get(); }
+
+ private:
std::unique_ptr<T> texture_;
DISALLOW_COPY_AND_ASSIGN(SimpleTexturedElement);
@@ -42,7 +44,6 @@ typedef SimpleTexturedElement<InsecureContentPermanentTexture>
PermanentSecurityWarning;
typedef SimpleTexturedElement<InsecureContentTransientTexture>
TransientSecurityWarning;
-typedef SimpleTexturedElement<ExclusiveScreenToastTexture> ExclusiveScreenToast;
typedef SimpleTexturedElement<SplashScreenIconTexture> SplashScreenIcon;
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698