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

Unified Diff: content/browser/web_contents/web_contents_view_mac.mm

Issue 2005953002: [mac][views] Notify web_contents focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_mac.mm
diff --git a/content/browser/web_contents/web_contents_view_mac.mm b/content/browser/web_contents/web_contents_view_mac.mm
index b87c8b96365db41b59054e359dbcec885d3f729c..80a5f27e8bae3a7feec667e5fd908274abcbbbf4 100644
--- a/content/browser/web_contents/web_contents_view_mac.mm
+++ b/content/browser/web_contents/web_contents_view_mac.mm
@@ -183,6 +183,7 @@ void WebContentsViewMac::Focus() {
if (![window isVisible])
return;
[window makeKeyAndOrderFront:nil];
+ web_contents_->NotifyWebContentsFocused();
tapted 2016/05/27 11:50:37 I don't think this is the right place for it. Aura
Avi (use Gerrit) 2016/05/27 15:42:36 Agreed. I'm trusting in the Views people that plu
yamaxim 2016/05/30 12:32:38 I wrap it with GotFocus, if you can say a better p
}
void WebContentsViewMac::SetInitialFocus() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698