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

Issue 12280014: cc: Don't consider HUD layer for touches (Closed)

Created:
7 years, 10 months ago by vmpstr
Modified:
7 years, 10 months ago
Reviewers:
danakj, jamesr, nduca
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Don't consider HUD layer for touches When paint rects are drawn, the HeadsUpDisplayLayerImpl is created and drawn. However, this causes scrolling touches not to hit the layer underneath, thus preventing the user from scrolling. The fix is to classify the layer as a non-interactive overlay layer and to not consider these layers as possible hit layers. BUG=172572 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183371

Patch Set 1 #

Patch Set 2 : moved funcs around #

Total comments: 1

Patch Set 3 : simplified code #

Patch Set 4 : Added a test #

Total comments: 9

Patch Set 5 : danakj's review #

Patch Set 6 : Fixed unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -0 lines) Patch
M cc/layer_tree_host_common.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M cc/layer_tree_host_common_unittest.cc View 1 2 3 4 5 2 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
vmpstr
Also, I'd appreciate a better name suggestion than "isNonInteractiveOverlay"
7 years, 10 months ago (2013-02-16 00:04:54 UTC) #1
jamesr
Hmm, seems like a similar bugfix to https://bugs.webkit.org/show_bug.cgi?id=108957 although that just punted all input handling ...
7 years, 10 months ago (2013-02-16 00:08:50 UTC) #2
jamesr
Hmm, seems like a similar bugfix to https://bugs.webkit.org/show_bug.cgi?id=108957 although that just punted all input handling ...
7 years, 10 months ago (2013-02-16 00:08:50 UTC) #3
jamesr
On 2013/02/16 00:08:50, jamesr wrote: > Hmm, seems like a similar bugfix to > https://bugs.webkit.org/show_bug.cgi?id=108957 ...
7 years, 10 months ago (2013-02-16 00:10:25 UTC) #4
nduca
This smells like the skips continuous painting thing all over again.
7 years, 10 months ago (2013-02-16 00:28:40 UTC) #5
vmpstr
On 2013/02/16 00:28:40, nduca wrote: > This smells like the skips continuous painting thing all ...
7 years, 10 months ago (2013-02-16 01:57:04 UTC) #6
danakj
MathUtil is the place where things live that are meant to migrate into ui/gfx - ...
7 years, 10 months ago (2013-02-16 03:07:29 UTC) #7
vmpstr
On 2013/02/16 03:07:29, danakj wrote: > MathUtil is the place where things live that are ...
7 years, 10 months ago (2013-02-17 19:33:44 UTC) #8
danakj
I was hoping vollick's change to make tryScroll not scroll things with maxScrollOffset = 0 ...
7 years, 10 months ago (2013-02-18 19:18:48 UTC) #9
danakj
would not affect which leaf node*
7 years, 10 months ago (2013-02-18 19:19:17 UTC) #10
vmpstr
On 2013/02/18 19:18:48, danakj wrote: > I don't understand why we would need to move ...
7 years, 10 months ago (2013-02-18 20:03:52 UTC) #11
danakj
On Mon, Feb 18, 2013 at 3:03 PM, <vmpstr@chromium.org> wrote: > On 2013/02/18 19:18:48, danakj ...
7 years, 10 months ago (2013-02-18 21:17:48 UTC) #12
vmpstr
> > Sure, I was imagining this: > > IsHudLayer(Layer* layer) { return false; } ...
7 years, 10 months ago (2013-02-18 22:10:30 UTC) #13
jamesr
LayerTreeHostCommon is for code that's common to both the main and impl thread layer tree ...
7 years, 10 months ago (2013-02-18 23:10:04 UTC) #14
danakj
On Mon, Feb 18, 2013 at 6:10 PM, <jamesr@chromium.org> wrote: > LayerTreeHostCommon is for code ...
7 years, 10 months ago (2013-02-19 16:01:32 UTC) #15
vmpstr
I propose that we track the code location in this bug that tomhudson opened: crbug.com/176917 ...
7 years, 10 months ago (2013-02-19 17:01:59 UTC) #16
danakj
This code is more impl-specific than I remembered. I think getting it out of LTHCommon ...
7 years, 10 months ago (2013-02-19 18:10:54 UTC) #17
vmpstr
> I'm ok with that if James is, but it's definitely something we should do. ...
7 years, 10 months ago (2013-02-19 19:27:08 UTC) #18
nduca
@danakj, is there a path forward that isn't hideous but that could get something landed ...
7 years, 10 months ago (2013-02-19 19:49:05 UTC) #19
danakj
https://codereview.chromium.org/12280014/diff/11002/cc/layer_tree_host_common.cc File cc/layer_tree_host_common.cc (right): https://codereview.chromium.org/12280014/diff/11002/cc/layer_tree_host_common.cc#newcode10 cc/layer_tree_host_common.cc:10: #include "cc/heads_up_display_layer_impl.h" you don't need this header i don't ...
7 years, 10 months ago (2013-02-19 20:08:12 UTC) #20
jamesr
On 2013/02/19 18:10:54, danakj wrote: > This code is more impl-specific than I remembered. I ...
7 years, 10 months ago (2013-02-19 20:08:24 UTC) #21
anagy4698
Ejha, az összes fontos üzenetet elolvasta a beérkezett levelek közül! 2013/2/19 <jamesr@chromium.org> > On 2013/02/19 ...
7 years, 10 months ago (2013-02-19 20:20:36 UTC) #22
danakj
https://codereview.chromium.org/12280014/diff/11002/cc/layer_tree_host_common.cc File cc/layer_tree_host_common.cc (right): https://codereview.chromium.org/12280014/diff/11002/cc/layer_tree_host_common.cc#newcode1142 cc/layer_tree_host_common.cc:1142: hudLayer = renderSurfaceLayerList.front()->layerTreeImpl()->hud_layer(); On 2013/02/19 20:08:12, danakj wrote: > ...
7 years, 10 months ago (2013-02-19 22:52:58 UTC) #23
vmpstr
> This seems a little round-a-bout just to avoid a pointer deref, which will > ...
7 years, 10 months ago (2013-02-19 23:16:28 UTC) #24
danakj
On Tue, Feb 19, 2013 at 6:16 PM, <vmpstr@chromium.org> wrote: > This seems a little ...
7 years, 10 months ago (2013-02-19 23:24:06 UTC) #25
vmpstr
> Ah, so two things: > > Because you went right to the impl side, ...
7 years, 10 months ago (2013-02-19 23:38:14 UTC) #26
danakj
Cool, LGTM
7 years, 10 months ago (2013-02-19 23:40:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/12280014/21001
7 years, 10 months ago (2013-02-20 00:06:50 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/12280014/21001
7 years, 10 months ago (2013-02-20 02:03:27 UTC) #29
commit-bot: I haz the power
7 years, 10 months ago (2013-02-20 02:07:09 UTC) #30
Message was sent while issue was closed.
Change committed as 183371

Powered by Google App Engine
This is Rietveld 408576698