cef/libcef/webview_host.cc
Marshall Greenblatt d366763847 Merge revision 745 changes:
- Improve the handling of invalidation/painting for off-screen rendering (issue #695).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@746 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-08-21 19:49:11 +00:00

22 lines
545 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 "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();
}