| Index: chrome/browser/chromeos/login/ui/web_view_handle.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/web_view_handle.cc b/chrome/browser/chromeos/login/ui/web_view_handle.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..45165abd5e606c0a0d6b3873ae598b3f2b147b88
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/login/ui/web_view_handle.cc
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/chromeos/login/ui/web_view_handle.h"
|
| +
|
| +#include "chrome/browser/profiles/profile.h"
|
| +#include "ui/views/controls/webview/webview.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +WebViewHandle::WebViewHandle(Profile* profile)
|
| + : web_view_(base::MakeUnique<views::WebView>(profile)) {
|
| + web_view_->set_owned_by_client();
|
| +}
|
| +
|
| +WebViewHandle::~WebViewHandle() {}
|
| +
|
| +} // namespace chromeos
|
|
|