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

Side by Side Diff: chrome/browser/android/vr_shell/ui_elements/transient_security_warning.cc

Issue 2834543006: Hook up insecure content warnings for http webVR presentation. (Closed)
Patch Set: rebase 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/android/vr_shell/ui_elements/transient_security_warning .h"
6
7 #include "base/memory/ptr_util.h"
8 #include "chrome/browser/android/vr_shell/textures/insecure_content_transient_te xture.h"
9
10 namespace vr_shell {
11
12 TransientSecurityWarning::TransientSecurityWarning(int preferred_width)
13 : TexturedElement(preferred_width),
14 texture_(base::MakeUnique<InsecureContentTransientTexture>()) {}
15
16 TransientSecurityWarning::~TransientSecurityWarning() = default;
17
18 UiTexture* TransientSecurityWarning::GetTexture() const {
19 return texture_.get();
20 }
21
22 } // namespace vr_shell
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698