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..afaca69a13f28b2adc1adbc2c61d9ffa2e042cc0 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.h |
+++ b/content/renderer/browser_plugin/browser_plugin.h |
@@ -60,6 +60,11 @@ 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 and adjust transparency of |
+ // BrowserPlugin accordingly. |
+ 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 +140,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 +336,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_; |