| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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/chromeos/login/ui/web_view_handle.h" | |
| 6 | |
| 7 #include "base/memory/ptr_util.h" | |
| 8 #include "chrome/browser/profiles/profile.h" | |
| 9 #include "ui/views/controls/webview/webview.h" | |
| 10 | |
| 11 namespace chromeos { | |
| 12 | |
| 13 WebViewHandle::WebViewHandle(Profile* profile) | |
| 14 : web_view_(base::MakeUnique<views::WebView>(profile)) { | |
| 15 web_view_->set_owned_by_client(); | |
| 16 } | |
| 17 | |
| 18 WebViewHandle::~WebViewHandle() {} | |
| 19 | |
| 20 } // namespace chromeos | |
| OLD | NEW |