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

Issue 1224573006: Calling webview.focus() now works correctly (Closed)

Created:
5 years, 5 months ago by paulmeyer
Modified:
5 years, 5 months ago
Reviewers:
Fady Samuel, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calling webview.focus() now works correctly even when the webview is already focused. Previously, calling focus() on a webview that was already focused would unfocus the guest content in the webview. BUG=503832, 501062 Committed: https://crrev.com/6476573b7d9099b04002736d90a078550c8651eb Cr-Commit-Position: refs/heads/master@{#338852}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Altered test to work on all platforms. #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 chunks +18 lines, -1 line 0 comments Download
M extensions/renderer/resources/guest_view/guest_view_container.js View 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 20 (9 generated)
paulmeyer
5 years, 5 months ago (2015-07-08 14:36:08 UTC) #2
Fady Samuel
https://codereview.chromium.org/1224573006/diff/1/extensions/renderer/resources/guest_view/guest_view_container.js File extensions/renderer/resources/guest_view/guest_view_container.js (right): https://codereview.chromium.org/1224573006/diff/1/extensions/renderer/resources/guest_view/guest_view_container.js#newcode281 extensions/renderer/resources/guest_view/guest_view_container.js:281: proto.focus = function() { What about blur? Also does ...
5 years, 5 months ago (2015-07-08 14:38:11 UTC) #4
paulmeyer
https://codereview.chromium.org/1224573006/diff/1/extensions/renderer/resources/guest_view/guest_view_container.js File extensions/renderer/resources/guest_view/guest_view_container.js (right): https://codereview.chromium.org/1224573006/diff/1/extensions/renderer/resources/guest_view/guest_view_container.js#newcode281 extensions/renderer/resources/guest_view/guest_view_container.js:281: proto.focus = function() { On 2015/07/08 14:38:11, Fady Samuel ...
5 years, 5 months ago (2015-07-08 20:19:50 UTC) #5
Fady Samuel
lgtm
5 years, 5 months ago (2015-07-08 20:21:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224573006/1
5 years, 5 months ago (2015-07-08 20:23:45 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/85250)
5 years, 5 months ago (2015-07-08 22:33:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224573006/20001
5 years, 5 months ago (2015-07-14 17:53:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/16315)
5 years, 5 months ago (2015-07-14 18:21:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224573006/40001
5 years, 5 months ago (2015-07-15 13:09:49 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-15 14:14:33 UTC) #19
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 14:15:33 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6476573b7d9099b04002736d90a078550c8651eb
Cr-Commit-Position: refs/heads/master@{#338852}

Powered by Google App Engine
This is Rietveld 408576698