mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 20:50:42 +01:00
- 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
22 lines
545 B
C++
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();
|
|
}
|