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

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed)

Created:
7 years, 7 months ago by Jinsuk Kim
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Allows fullscreen to be triggered with the key events used for scrolling. This gives consistency with how fullscreen is triggered with gesture-based scrolling. Keys to trigger fullscreen with are based on the logic implemented in WebViewImpl::keyEventDefault()/mapKeyCodeForScroll(). BUG=240159 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206386

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 10

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Addressed comments #

Total comments: 12

Patch Set 5 : Addressed comments #

Total comments: 10

Patch Set 6 : Addressed comments #

Patch Set 7 : addressed comments #

Patch Set 8 : #

Total comments: 4

Patch Set 9 : addressed comments #

Patch Set 10 : #

Total comments: 10

Patch Set 11 : addressed comments #

Total comments: 2

Patch Set 12 : addressed comments #

Total comments: 2

Patch Set 13 : move the decl into the right place #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Jinsuk Kim
Hi Ted, I know you've been working this fullscreen stuff. I'm trying to get keyboard ...
7 years, 7 months ago (2013-05-14 10:28:31 UTC) #1
Jinsuk Kim
Gentle reminder...
7 years, 7 months ago (2013-05-20 00:10:59 UTC) #2
David Trainor- moved to gerrit
On 2013/05/20 00:10:59, jindor wrote: > Gentle reminder... Ted is out of the office. I ...
7 years, 7 months ago (2013-05-21 05:23:21 UTC) #3
aelias_OOO_until_Jul13
https://codereview.chromium.org/14999010/diff/1/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/14999010/diff/1/cc/trees/layer_tree_host.cc#newcode496 cc/trees/layer_tree_host.cc:496: top_controls_manager_weak_ptr_->ScrollBegin(); This isn't thread-safe. LayerTreeHost functions are called on ...
7 years, 7 months ago (2013-05-21 05:51:41 UTC) #4
Jinsuk Kim
Thanks for the review. I could wait till Ted comes back but your comments make ...
7 years, 7 months ago (2013-05-24 09:57:13 UTC) #5
Ted C
I do think the behavior might be slightly odd, but this is an unlikely enough ...
7 years, 6 months ago (2013-06-03 17:43:42 UTC) #6
Jinsuk Kim
Thanks for the review. aelias would you take another look? I rebased the code, which ...
7 years, 6 months ago (2013-06-05 08:21:06 UTC) #7
aelias_OOO_until_Jul13
https://codereview.chromium.org/14999010/diff/15001/cc/input/top_controls_manager.h File cc/input/top_controls_manager.h (right): https://codereview.chromium.org/14999010/diff/15001/cc/input/top_controls_manager.h#newcode51 cc/input/top_controls_manager.h:51: void UpdateTopControlsStatePreservingConstraints( Let's avoid adding this method. Please cache ...
7 years, 6 months ago (2013-06-07 19:18:17 UTC) #8
aelias_OOO_until_Jul13
I think a reasonable place to add the cache field would be LayerTreeHost, rather than ...
7 years, 6 months ago (2013-06-07 19:21:57 UTC) #9
Jinsuk Kim
https://codereview.chromium.org/14999010/diff/15001/cc/input/top_controls_manager.h File cc/input/top_controls_manager.h (right): https://codereview.chromium.org/14999010/diff/15001/cc/input/top_controls_manager.h#newcode51 cc/input/top_controls_manager.h:51: void UpdateTopControlsStatePreservingConstraints( On 2013/06/07 19:18:17, aelias wrote: > Let's ...
7 years, 6 months ago (2013-06-10 05:04:35 UTC) #10
aelias_OOO_until_Jul13
Looking OK, nits below. Please add jamesr@ for OWNERS review when you've applied them. https://codereview.chromium.org/14999010/diff/28001/cc/trees/layer_tree_host.cc ...
7 years, 6 months ago (2013-06-10 05:11:25 UTC) #11
Jinsuk Kim
Thanks for the review. Added jamesr for review. https://codereview.chromium.org/14999010/diff/28001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/14999010/diff/28001/cc/trees/layer_tree_host.cc#newcode1059 cc/trees/layer_tree_host.cc:1059: LOG(WARNING) ...
7 years, 6 months ago (2013-06-10 05:37:09 UTC) #12
jamesr
Not quite https://codereview.chromium.org/14999010/diff/38001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/14999010/diff/38001/cc/trees/layer_tree_host.cc#newcode1059 cc/trees/layer_tree_host.cc:1059: if (top_controls_constraints_ < 0) top_controls_constraints_ is an ...
7 years, 6 months ago (2013-06-10 23:48:31 UTC) #13
Jinsuk Kim
Thanks for the review. Please take another look. https://codereview.chromium.org/14999010/diff/38001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/14999010/diff/38001/cc/trees/layer_tree_host.cc#newcode1059 cc/trees/layer_tree_host.cc:1059: if ...
7 years, 6 months ago (2013-06-11 04:53:17 UTC) #14
jamesr
https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc#newcode768 content/renderer/render_view_impl.cc:768: top_controls_constraints_(cc::NONE), does 'NONE' make sense? the top controls have ...
7 years, 6 months ago (2013-06-11 05:11:26 UTC) #15
Jinsuk Kim
https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc#newcode768 content/renderer/render_view_impl.cc:768: top_controls_constraints_(cc::NONE), On 2013/06/11 05:11:27, jamesr wrote: > does 'NONE' ...
7 years, 6 months ago (2013-06-11 05:23:59 UTC) #16
Jinsuk Kim
On 2013/06/11 05:23:59, jindor wrote: > https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > https://codereview.chromium.org/14999010/diff/47002/content/renderer/render_view_impl.cc#newcode768 > ...
7 years, 6 months ago (2013-06-13 00:54:06 UTC) #17
jamesr
No, it still doesn't make sense to me. If you want to set the top ...
7 years, 6 months ago (2013-06-13 02:06:58 UTC) #18
aelias_OOO_until_Jul13
https://codereview.chromium.org/14999010/diff/66001/cc/input/top_controls_state.h File cc/input/top_controls_state.h (right): https://codereview.chromium.org/14999010/diff/66001/cc/input/top_controls_state.h#newcode10 cc/input/top_controls_state.h:10: INVALID = 0, On 2013/06/13 02:06:59, jamesr wrote: > ...
7 years, 6 months ago (2013-06-13 03:29:25 UTC) #19
Jinsuk Kim
render_view_impl_android.cc seems to be the right place. Thanks. Please take another look. https://codereview.chromium.org/14999010/diff/66001/cc/input/top_controls_state.h File cc/input/top_controls_state.h ...
7 years, 6 months ago (2013-06-13 04:18:13 UTC) #20
jamesr
https://codereview.chromium.org/14999010/diff/74001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/14999010/diff/74001/content/renderer/render_view_impl.h#newcode447 content/renderer/render_view_impl.h:447: virtual void didScrollWithKeyboard(const WebKit::WebSize& delta); again, you've declared a ...
7 years, 6 months ago (2013-06-13 05:25:12 UTC) #21
Jinsuk Kim
https://codereview.chromium.org/14999010/diff/74001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/14999010/diff/74001/content/renderer/render_view_impl.h#newcode447 content/renderer/render_view_impl.h:447: virtual void didScrollWithKeyboard(const WebKit::WebSize& delta); On 2013/06/13 05:25:12, jamesr ...
7 years, 6 months ago (2013-06-13 06:00:24 UTC) #22
jamesr
lgtm if you move the declaration into the right place https://codereview.chromium.org/14999010/diff/79001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/14999010/diff/79001/content/renderer/render_view_impl.h#newcode448 ...
7 years, 6 months ago (2013-06-13 06:03:35 UTC) #23
Jinsuk Kim
Thanks. Would you review https://codereview.chromium.org/15735021 as well? https://codereview.chromium.org/14999010/diff/79001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/14999010/diff/79001/content/renderer/render_view_impl.h#newcode448 content/renderer/render_view_impl.h:448: virtual void ...
7 years, 6 months ago (2013-06-13 06:18:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinsukkim@chromium.org/14999010/83002
7 years, 6 months ago (2013-06-14 08:46:06 UTC) #25
commit-bot: I haz the power
7 years, 6 months ago (2013-06-14 10:37:05 UTC) #26
Message was sent while issue was closed.
Change committed as 206386

Powered by Google App Engine
This is Rietveld 408576698