New issue
Advanced search Search tips

Issue 610561 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug

Blocking:
issue 459877



Sign in to add a comment

MacViews(AppWindows): Focus isn't transferred to <webview> in a packaged app with chrome://flags/#mac-views-native-app-windows

Project Member Reported by tapted@chromium.org, May 10 2016

Issue description

Chrome Version       : 52.0.2729.3
OS Version: OS X 10.11.4

What steps will reproduce the problem?
1. Enable chrome://flags/#mac-views-native-app-windows
2. Install the <webview> "browser" sample https://chrome.google.com/webstore/detail/browser-sample/edggnmnajhcbhlnpjnogkjpghaikidaa
3. Launch it and try to focus the search box

What is the expected result?

Can't.


What happens instead of that?

Can.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2729.3 Safari/537.36
 

Comment 1 by tapted@chromium.org, May 10 2016

oops. got expected/actual reversed. ¯_(ツ)_/¯
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 2 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4d67971369b316f1d7e4e0330412a3d94b4418ba

commit 4d67971369b316f1d7e4e0330412a3d94b4418ba
Author: yamaxim <yamaxim@yandex-team.ru>
Date: Thu Jun 02 09:59:33 2016

[mac][views] Notify web_contents focused.

This fix allow to FocusManager know about web_contents was focused.
It also fix a lot of test for mac_views_browser by example:
BrowserFocusTest.FocusOnReload,
BrowserFocusTest.InterstitialFocus ...

BUG= 610561 ,  21875 

Review-Url: https://codereview.chromium.org/2005953002
Cr-Commit-Position: refs/heads/master@{#397353}

[modify] https://crrev.com/4d67971369b316f1d7e4e0330412a3d94b4418ba/content/browser/renderer_host/render_widget_host_view_mac.mm
[modify] https://crrev.com/4d67971369b316f1d7e4e0330412a3d94b4418ba/content/browser/web_contents/web_contents_view_mac.mm

Status: Fixed (was: Available)
Verified fixed

Sign in to add a comment