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

Unified Diff: content/plugin/webplugin_proxy.cc

Issue 1813143002: Remove a bunch of NPAPI quirks and related support code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_windowed_plugins
Patch Set: rebase Created 4 years, 9 months 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
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_proxy.cc
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc
index 8744d22c454b4d40f95ed314f4bd1eb662d2fcd2..89c1915a5aec20946617b049315a9e7f7271fc71 100644
--- a/content/plugin/webplugin_proxy.cc
+++ b/content/plugin/webplugin_proxy.cc
@@ -76,19 +76,6 @@ bool WebPluginProxy::Send(IPC::Message* msg) {
return channel_->Send(msg);
}
-#if defined(OS_WIN)
-void WebPluginProxy::SetWindowlessData(
- HANDLE pump_messages_event, gfx::NativeViewId dummy_activation_window) {
- HANDLE pump_messages_event_for_renderer = NULL;
- BrokerDuplicateHandle(pump_messages_event, channel_->peer_pid(),
- &pump_messages_event_for_renderer,
- SYNCHRONIZE | EVENT_MODIFY_STATE, 0);
- DCHECK(pump_messages_event_for_renderer);
- Send(new PluginHostMsg_SetWindowlessData(
- route_id_, pump_messages_event_for_renderer, dummy_activation_window));
-}
-#endif
-
void WebPluginProxy::Invalidate() {
gfx::Rect rect(0, 0,
delegate_->GetRect().width(),
@@ -475,17 +462,4 @@ bool WebPluginProxy::IsOffTheRecord() {
return channel_->incognito();
}
-#if defined(OS_WIN) && !defined(USE_AURA)
-void WebPluginProxy::UpdateIMEStatus() {
- // Retrieve the IME status from a plugin and send it to a renderer process
- // when the plugin has updated it.
- int input_type;
- gfx::Rect caret_rect;
- if (!delegate_->GetIMEStatus(&input_type, &caret_rect))
- return;
-
- Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect));
-}
-#endif
-
} // namespace content
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698