2011-03-24 21:36:47 +01:00
|
|
|
// 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.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#include "libcef/webview_host.h"
|
2012-08-21 21:48:29 +02:00
|
|
|
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
|
2011-03-24 21:36:47 +01:00
|
|
|
|
2011-11-04 19:19:14 +01:00
|
|
|
WebViewHost::WebViewHost(BrowserWebViewDelegate* delegate)
|
2012-01-10 00:46:23 +01:00
|
|
|
: delegate_(delegate) {
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
2011-08-14 23:54:18 +02:00
|
|
|
#if !defined(OS_MACOSX)
|
2012-01-10 00:46:23 +01:00
|
|
|
WebViewHost::~WebViewHost() {
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
2011-08-14 23:54:18 +02:00
|
|
|
#endif
|
2012-08-21 21:48:29 +02:00
|
|
|
|
|
|
|
bool WebViewHost::IsTransparent() {
|
|
|
|
return static_cast<WebKit::WebView*>(webwidget_)->isTransparent();
|
|
|
|
}
|