Browser Plugin: Remove dependency on NPAPI
The CL moves the final attribute on BrowserPlugin 'allowtransparency' out to the extensions module! No new content APIs had to be introduced! Transparency can be enabled from RenderWidgetHostView::SetBackgroundOpaque in the content embedder.
This means that BrowserPlugin no longer depends on NPAPI and so this patch removes a lot of unnecessary code.
[email protected] for histograms.xml, extension_function_histogram_value.h
[email protected] for histograms.xml, extension
BUG=330264
Review URL: https://codereview.chromium.org/584713002
Cr-Commit-Position: refs/heads/master@{#295879}
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index 3eaa577..67245e0 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -953,6 +953,7 @@
EASYUNLOCKPRIVATE_TRYSIGNINSECRET,
ACCESSIBILITY_PRIVATE_SETFOCUSRING,
USB_GETCONFIGURATION,
+ WEBVIEWINTERNAL_SETALLOWTRANSPARENCY,
// Last entry: Add new entries above and ensure to update
// tools/metrics/histograms/histograms.xml.
ENUM_BOUNDARY