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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 2755723002: Fixed an IME bug due to a race in TextInputStateChanged
Patch Set: Using BrowserPlugingEmbedder for determinning focused guests Created 3 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
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 1ef3212d4b63270d2bb636624643593f48d7dc24..98aff84f7d31f39cfb25f23ffc918597a843d476 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -246,6 +246,12 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// not a WebContents, returns nullptr.
virtual WebContents* GetAsWebContents();
+ // TODO(ekaramad): This is only used for BrowserPlugins. Remove this once the
+ // issue https://crbug.com/533069 is fixed.
+ // Returns true if there are any guests that are currently focused in one of
+ // the delegate's RenderWidgetHosts.
+ virtual bool HasFocusedGuests();
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698