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

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

Issue 2396083002: Clear last MouseMove root view in RWHIER if that view gets destroyed (Closed)
Patch Set: Not re-enabling test Created 4 years, 2 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_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 5e25a02bf003c817e59f9a487d40a38cdff37e56..7ea34285895c492e4c5845e362b4fa6c229d655a 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -277,6 +277,13 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// entirely, which comes first.
virtual bool IsRenderWidgetHostViewGuest();
+ // Subclass identifier for RenderWidgetHostViewChildFrames. This is useful
+ // to be able to know if this RWHV is embedded within another RWHV. If
+ // other kinds of embeddable RWHVs are created, this should be renamed to
+ // a more generic term -- in which case, static casts to RWHVChildFrame will
+ // need to also be resolved.
+ virtual bool IsRenderWidgetHostViewChildFrame();
+
//----------------------------------------------------------------------------
// The following methods are related to IME.
// TODO(ekaramad): Most of the IME methods should not stay virtual after IME

Powered by Google App Engine
This is Rietveld 408576698