summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 9906a27..0155b8b 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -366,7 +366,8 @@ WebViewImpl::WebViewImpl()
drag_identity_(0),
drop_effect_(DROP_EFFECT_DEFAULT),
drop_accept_(false),
- autocomplete_popup_showing_(false) {
+ autocomplete_popup_showing_(false),
+ is_transparent_(false) {
// WebKit/win/WebView.cpp does the same thing, except they call the
// KJS specific wrapper around this method. We need to have threading
// initialized because CollatorICU requires it.
@@ -1825,6 +1826,14 @@ WebDevToolsAgentImpl* WebViewImpl::GetWebDevToolsAgentImpl() {
return devtools_agent_.get();
}
+void WebViewImpl::SetIsTransparent(bool is_transparent) {
+ is_transparent_ = is_transparent;
+}
+
+bool WebViewImpl::GetIsTransparent() const {
+ return is_transparent_;
+}
+
void WebViewImpl::DidCommitLoad(bool* is_new_navigation) {
if (is_new_navigation)
*is_new_navigation = observed_new_navigation_;