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

Unified Diff: content/public/browser/render_widget_host.h

Issue 860393004: Expose whether a frame is focused to the browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index a937f87e3f249fa9516ed37c475b700eb61f43d0..720e35435d469117c5d45c5211703c96a73b099e 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -157,6 +157,7 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
virtual void Focus() = 0;
virtual void Blur() = 0;
+ virtual bool IsFocused() const = 0;
mlamouri (slow - plz ping) 2015/01/21 17:29:36 If preferred, I could expose that to RenderWidgetH
// Sets whether the renderer should show controls in an active state. On all
// platforms except mac, that's the same as focused. On mac, the frontmost

Powered by Google App Engine
This is Rietveld 408576698