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

Issue 2877323002: Add WebContentObserver::OnWebContentsLostFocus() (Closed)

Created:
3 years, 7 months ago by Hzj_jie
Modified:
3 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add WebContentObserver::OnWebContentsLostFocus() In Keyboard Lock feature, we need to disable low level keyboard lock once the page lost focus. So this change adds a OnWebContentsLostFocus() callback in WebContentObserver to export the bluring action. For detail, please refer to the design doc at, https://docs.google.com/document/d/1T9gJHYdA1VGZ6QHQeOu0hOacWWWJ7yNEt1VDbLju4bs/edit#heading=h.cgwemqs2j4ta W3C Working Draft: https://garykac.github.io/system-keyboard-lock/ Intent to implement: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/9pauQUAvrcw/lfbG7eunCAAJ BUG=680809 Review-Url: https://codereview.chromium.org/2877323002 Cr-Commit-Position: refs/heads/master@{#472319} Committed: https://chromium.googlesource.com/chromium/src/+/3bee08e25f92a3ecaeac0be34dd23fed3596e128

Patch Set 1 #

Total comments: 8

Patch Set 2 : Blured -> LostFocus #

Total comments: 2

Patch Set 3 : Remove useless include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M content/browser/renderer_host/render_view_host_delegate_view.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_owner_delegate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (30 generated)
Hzj_jie
3 years, 7 months ago (2017-05-16 02:24:45 UTC) #21
Avi (use Gerrit)
"blured" is misspelled; it would be "blurred". But I think that using "blurred" as the ...
3 years, 7 months ago (2017-05-16 15:16:20 UTC) #22
Hzj_jie
Thank you Avi for the reviewing and feedbacks. https://codereview.chromium.org/2877323002/diff/80001/content/browser/renderer_host/render_view_host_delegate_view.h File content/browser/renderer_host/render_view_host_delegate_view.h (right): https://codereview.chromium.org/2877323002/diff/80001/content/browser/renderer_host/render_view_host_delegate_view.h#newcode65 content/browser/renderer_host/render_view_host_delegate_view.h:65: virtual ...
3 years, 7 months ago (2017-05-16 19:39:27 UTC) #25
Avi (use Gerrit)
On 2017/05/16 19:39:27, Hzj_jie wrote: > Thank you Avi for the reviewing and feedbacks. > ...
3 years, 7 months ago (2017-05-16 20:11:10 UTC) #26
Avi (use Gerrit)
Almost there. https://codereview.chromium.org/2877323002/diff/100001/content/public/browser/web_contents_observer.cc File content/public/browser/web_contents_observer.cc (right): https://codereview.chromium.org/2877323002/diff/100001/content/public/browser/web_contents_observer.cc#newcode7 content/public/browser/web_contents_observer.cc:7: #include "base/threading/platform_thread.h" Is this include necessary?
3 years, 7 months ago (2017-05-16 20:13:37 UTC) #27
Hzj_jie
https://codereview.chromium.org/2877323002/diff/100001/content/public/browser/web_contents_observer.cc File content/public/browser/web_contents_observer.cc (right): https://codereview.chromium.org/2877323002/diff/100001/content/public/browser/web_contents_observer.cc#newcode7 content/public/browser/web_contents_observer.cc:7: #include "base/threading/platform_thread.h" On 2017/05/16 20:13:37, Avi (ping after 24h) ...
3 years, 7 months ago (2017-05-16 20:43:24 UTC) #30
Avi (use Gerrit)
lgtm
3 years, 7 months ago (2017-05-16 21:01:08 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2877323002/120001
3 years, 7 months ago (2017-05-17 04:07:41 UTC) #36
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 04:15:01 UTC) #39
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/3bee08e25f92a3ecaeac0be34dd2...

Powered by Google App Engine
This is Rietveld 408576698