mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 12:17:15 +01:00
de2ac7a2c1
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@984 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
20 lines
552 B
C++
20 lines
552 B
C++
// Copyright (c) 2011 The Chromium Embedded Framework 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 "libcef/webview_host.h"
|
|
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
|
|
|
|
WebViewHost::WebViewHost(BrowserWebViewDelegate* delegate)
|
|
: delegate_(delegate) {
|
|
}
|
|
|
|
#if !defined(OS_MACOSX)
|
|
WebViewHost::~WebViewHost() {
|
|
}
|
|
#endif
|
|
|
|
bool WebViewHost::IsTransparent() {
|
|
return static_cast<WebKit::WebView*>(webwidget_)->isTransparent();
|
|
}
|