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

Issue 913133007: Allow scroll events to open custom launcher pages. (Closed)

Created:
5 years, 10 months ago by tapted
Modified:
5 years, 10 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow scroll events to open custom launcher pages. Child widgets/webcontents like to steal the event, so purge the clickzone widget and use ShouldDescendIntoChildForEventHandling to direct the events at the start page view. BUG=455787 Committed: https://crrev.com/eaa9e93535db9dfc7b54c9882a12e54a2ed284ed Cr-Commit-Position: refs/heads/master@{#316539}

Patch Set 1 #

Total comments: 7

Patch Set 2 : OMGTESTS #

Patch Set 3 : mostly working, but also broke gesture thing #

Patch Set 4 : add a with-disabled test. fix gesture #

Patch Set 5 : Aura-only version #

Patch Set 6 : Just use location #

Patch Set 7 : Fix desktop #

Patch Set 8 : add scroll #

Patch Set 9 : add tap #

Total comments: 9

Patch Set 10 : rebase #

Patch Set 11 : respond to comments #

Patch Set 12 : fix desktop. Hope CrOS stays fixed #

Patch Set 13 : host coordinates #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -145 lines) Patch
M chrome/browser/apps/custom_launcher_page_browsertest_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +156 lines, -29 lines 2 comments Download
M ui/app_list/views/app_list_main_view.h View 3 chunks +0 lines, -13 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 5 chunks +0 lines, -73 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 5 2 chunks +13 lines, -2 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/app_list/views/start_page_view.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -7 lines 0 comments Download
M ui/app_list/views/start_page_view.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +43 lines, -19 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
calamity
Hah! Didn't know that existed. This looks great! Here's some initial things I noticed. https://codereview.chromium.org/913133007/diff/1/ui/app_list/views/app_list_view.cc ...
5 years, 10 months ago (2015-02-12 04:32:25 UTC) #2
tapted
So this is basically ready. The problem: the test doesn't currently work on desktop platforms ...
5 years, 10 months ago (2015-02-13 04:18:41 UTC) #4
tapted
ok - I think I've figured out a fix for desktop platforms. It puts an ...
5 years, 10 months ago (2015-02-13 05:39:36 UTC) #5
tapted
added scroll and did some spot-checks on a touchscreen - all good! ptal
5 years, 10 months ago (2015-02-17 00:05:57 UTC) #7
calamity
lgtm. Hooray for deleting code. https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc File chrome/browser/apps/custom_launcher_page_browsertest_views.cc (right): https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc#newcode164 chrome/browser/apps/custom_launcher_page_browsertest_views.cc:164: gfx::Point point_in_clickzone = bounds.CenterPoint(); ...
5 years, 10 months ago (2015-02-17 00:54:10 UTC) #8
tapted
https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc File chrome/browser/apps/custom_launcher_page_browsertest_views.cc (right): https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc#newcode164 chrome/browser/apps/custom_launcher_page_browsertest_views.cc:164: gfx::Point point_in_clickzone = bounds.CenterPoint(); On 2015/02/17 00:54:09, calamity wrote: ...
5 years, 10 months ago (2015-02-17 03:06:01 UTC) #10
calamity
https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc File chrome/browser/apps/custom_launcher_page_browsertest_views.cc (right): https://codereview.chromium.org/913133007/diff/200001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc#newcode208 chrome/browser/apps/custom_launcher_page_browsertest_views.cc:208: const int num_fingers = 2; On 2015/02/17 03:06:01, tapted ...
5 years, 10 months ago (2015-02-17 05:19:29 UTC) #11
tapted
https://codereview.chromium.org/913133007/diff/280001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc File chrome/browser/apps/custom_launcher_page_browsertest_views.cc (right): https://codereview.chromium.org/913133007/diff/280001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc#newcode212 chrome/browser/apps/custom_launcher_page_browsertest_views.cc:212: #if defined(OS_CHROMEOS) OK.. I'm pretty sure I've cracked these ...
5 years, 10 months ago (2015-02-17 06:25:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/913133007/280001
5 years, 10 months ago (2015-02-17 07:13:10 UTC) #14
calamity
https://codereview.chromium.org/913133007/diff/280001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc File chrome/browser/apps/custom_launcher_page_browsertest_views.cc (right): https://codereview.chromium.org/913133007/diff/280001/chrome/browser/apps/custom_launcher_page_browsertest_views.cc#newcode212 chrome/browser/apps/custom_launcher_page_browsertest_views.cc:212: #if defined(OS_CHROMEOS) On 2015/02/17 06:25:45, tapted wrote: > OK.. ...
5 years, 10 months ago (2015-02-17 07:13:56 UTC) #15
commit-bot: I haz the power
Committed patchset #13 (id:280001)
5 years, 10 months ago (2015-02-17 07:16:08 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 07:17:03 UTC) #17
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/eaa9e93535db9dfc7b54c9882a12e54a2ed284ed
Cr-Commit-Position: refs/heads/master@{#316539}

Powered by Google App Engine
This is Rietveld 408576698