mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-05 22:48:06 +01:00
6a8f3a9410
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@745 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();
|
|
}
|