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

Unified Diff: content/plugin/webplugin_proxy.h

Issue 1825253002: Revert of 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: 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_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_proxy.h
diff --git a/content/plugin/webplugin_proxy.h b/content/plugin/webplugin_proxy.h
index a3386a74ec917a31bdbd8f1e1e640d04e92ebdce..3703056393709df636b5ea4df5df12ca88115ae1 100644
--- a/content/plugin/webplugin_proxy.h
+++ b/content/plugin/webplugin_proxy.h
@@ -72,6 +72,10 @@
void DidStartLoading() override;
void DidStopLoading() override;
bool IsOffTheRecord() override;
+#if defined(OS_WIN)
+ void SetWindowlessData(HANDLE pump_messages_event,
+ gfx::NativeViewId dummy_activation_window) override;
+#endif
#if defined(OS_MACOSX)
void FocusChanged(bool focused) override;
void StartIme() override;
@@ -102,6 +106,14 @@
// Callback from the renderer to let us know that a paint occurred.
void DidPaint();
+
+#if defined(OS_WIN) && !defined(USE_AURA)
+ // Retrieves the IME status from a windowless plugin and sends it to a
+ // renderer process. A renderer process will convert the coordinates from
+ // local to the window coordinates and send the converted coordinates to a
+ // browser process.
+ void UpdateIMEStatus();
+#endif
private:
class SharedTransportDIB : public base::RefCounted<SharedTransportDIB> {
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698