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

Side by Side Diff: chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h

Issue 2817663003: Rendering text on insecure-site warnings for WebVR (Closed)
Patch Set: build workaround 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_TEXT URE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_TEXT URE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_TEXT URE_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_TEXT URE_H_
7 7
8 #include "chrome/browser/android/vr_shell/textures/ui_texture.h" 8 #include "chrome/browser/android/vr_shell/textures/ui_texture.h"
9 9
10 namespace vr_shell { 10 namespace vr_shell {
11 11
12 class InsecureContentPermanentTexture : public UITexture { 12 class InsecureContentPermanentTexture : public UITexture {
13 public: 13 public:
14 InsecureContentPermanentTexture(int texture_handle, int texture_size); 14 InsecureContentPermanentTexture(int texture_handle, int texture_size);
15 ~InsecureContentPermanentTexture() override; 15 ~InsecureContentPermanentTexture() override;
16 16
17 private: 17 private:
18 void Draw(gfx::Canvas* canvas) override; 18 void Draw(gfx::Canvas* canvas) override;
19 void SetSize() override; 19 void SetSize() override;
20 20
21 int height_; 21 int height_;
22 int width_;
22 }; 23 };
23 24
24 } // namespace vr_shell 25 } // namespace vr_shell
25 26
26 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_T EXTURE_H_ 27 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_INSECURE_CONTENT_PERMANENT_T EXTURE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.cc » ('j') | ui/gfx/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698