Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2394)

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 95693002: <webview>: Expose transparency API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary line Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index f9c6fbb25af9a12f8441d6f7af3ea8278dadaf40..951bd86394150a0e3c9e4d12ea32d44524d7359c 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -60,6 +60,10 @@ class CONTENT_EXPORT BrowserPlugin :
std::string GetNameAttribute() const;
// Parse the name attribute value.
void ParseNameAttribute();
+ // Get the allowtransparency attribute value.
+ bool GetAllowTransparencyAttribute() const;
+ // Parse the allowtransparency attribute.
alexst (slow to review) 2013/12/02 19:03:24 Describe this a bit better since this sends an IPC
+ void ParseAllowTransparencyAttribute();
// Get the src attribute value of the BrowserPlugin instance.
std::string GetSrcAttribute() const;
// Parse the src attribute value of the BrowserPlugin instance.
@@ -135,10 +139,6 @@ class CONTENT_EXPORT BrowserPlugin :
// sent, if needed.
void DidCommitCompositorFrame();
- // Apply opacity settings on the composited layers in embedder and send a
- // message to the guest renderer to enable or disable transparent background.
- void SetContentsOpaque(bool opaque);
-
// Returns whether a message should be forwarded to BrowserPlugin.
static bool ShouldForwardToBrowserPlugin(const IPC::Message& message);
@@ -335,9 +335,6 @@ class CONTENT_EXPORT BrowserPlugin :
// Tracks the visibility of the browser plugin regardless of the whole
// embedder RenderView's visibility.
bool visible_;
- // Tracks the opacity of the compositing helper's layers and the guest
- // renderer process.
- bool opaque_;
WebCursor cursor_;
« no previous file with comments | « content/common/browser_plugin/browser_plugin_constants.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698