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

Issue 733293002: [Android] Add a flag to disable the pull-to-refresh effect (Closed)

Created:
6 years, 1 month ago by jdduke (slow)
Modified:
6 years, 1 month ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Add a flag to disable the pull-to-refresh effect Some people may not like pull-to-refresh. Some people may not like our implementation of pull-to-reresh. Some people may not like refreshing at all. Let's accomodate such users with a disabling override, particularly now as we're experimenting with the initial version of the effect. The flag also allows for experiments gauging accidental activation and other potentially negative side-effects. Also remove the kEnableOverscrollNotifications flag; overscroll notifications are now bundled with event acks, creating minimal extra overhead for non-consuming platforms. BUG=428429 Committed: https://crrev.com/0fa51299fbcd835fd5e8860f28f65b57a149598e Cr-Commit-Position: refs/heads/master@{#305154}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review and histograms.xml #

Total comments: 4

Patch Set 3 : nullptr #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -75 lines) Patch
M android_webview/lib/main/aw_main_delegate.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/android/content_startup_flags.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/overscroll_controller_android.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M content/browser/android/overscroll_controller_android.cc View 1 2 3 12 chunks +79 lines, -33 lines 0 comments Download
M content/browser/android/overscroll_glow.h View 1 2 3 4 chunks +14 lines, -10 lines 0 comments Download
M content/browser/android/overscroll_glow.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 chunks +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_event_filter.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 3 chunks +0 lines, -8 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
jdduke (slow)
aelias@: Could you take a look? Sorry for the churn here, I should have included ...
6 years, 1 month ago (2014-11-18 22:57:49 UTC) #2
aelias_OOO_until_Jul13
https://codereview.chromium.org/733293002/diff/1/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/733293002/diff/1/content/browser/android/overscroll_controller_android.cc#newcode42 content/browser/android/overscroll_controller_android.cc:42: static bool sEnableGlowEffect = Please remove these statics, static ...
6 years, 1 month ago (2014-11-19 06:21:51 UTC) #3
jdduke (slow)
Adding more owners. sievers@: content/public/common/ mpearson@: tools/metrics/histograms (speaking of which, is there a reason I ...
6 years, 1 month ago (2014-11-19 16:56:22 UTC) #4
aelias_OOO_until_Jul13
lgtm
6 years, 1 month ago (2014-11-19 19:28:16 UTC) #5
jdduke (slow)
Adding additional owners (for real this time). sievers@: content/public/common/ mpearson@: tools/metrics/histograms (speaking of which, is ...
6 years, 1 month ago (2014-11-20 00:37:50 UTC) #7
no sievers
On 2014/11/20 00:37:50, jdduke wrote: > Adding additional owners (for real this time). > > ...
6 years, 1 month ago (2014-11-20 01:00:20 UTC) #8
Mark P
histograms.xml lgtm >>> mpearson@: tools/metrics/histograms (speaking of which, is there a reason I get the ...
6 years, 1 month ago (2014-11-20 01:07:52 UTC) #9
boliu
android_webview rs lgtm https://codereview.chromium.org/733293002/diff/20001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/733293002/diff/20001/content/browser/android/overscroll_controller_android.cc#newcode44 content/browser/android/overscroll_controller_android.cc:44: return scoped_ptr<OverscrollGlow>(); return nullptr should work, ...
6 years, 1 month ago (2014-11-20 23:12:48 UTC) #11
jdduke (slow)
https://codereview.chromium.org/733293002/diff/20001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/733293002/diff/20001/content/browser/android/overscroll_controller_android.cc#newcode44 content/browser/android/overscroll_controller_android.cc:44: return scoped_ptr<OverscrollGlow>(); On 2014/11/20 23:12:48, boliu wrote: > return ...
6 years, 1 month ago (2014-11-20 23:14:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733293002/40001
6 years, 1 month ago (2014-11-20 23:15:49 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/84517) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/89252) android_aosp ...
6 years, 1 month ago (2014-11-20 23:22:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733293002/60001
6 years, 1 month ago (2014-11-21 00:40:18 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-21 03:18:55 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 03:20:12 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0fa51299fbcd835fd5e8860f28f65b57a149598e
Cr-Commit-Position: refs/heads/master@{#305154}

Powered by Google App Engine
This is Rietveld 408576698