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

Issue 7034052: Linux/CrOS smooth scrolling support - behind a flag. (Closed)

Created:
9 years, 6 months ago by Scott Byer
Modified:
9 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, Avi (use Gerrit), jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Linux/CrOS smooth scrolling support - behind a flag. Add runtime flag to control smooth scrolling. Add compile time flag handling for a GYP_DEFINE (enable_smooth_scrolling=1). BUG=575, 61140 TEST=compile still works without the flag. Compiling with the flag works once the WebKit change is landed, and then the flag appears in the about:flags page, and actually turns on that WebKit implementation. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90136

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address review comments. #

Patch Set 3 : Remove compile flag in webkit/glue/webpreferences #

Total comments: 5

Patch Set 4 : Fix mispelling. #

Patch Set 5 : Rebased, cleaned up. #

Total comments: 3

Patch Set 6 : Address nits. #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
M build/common.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webpreferences.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webpreferences.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Scott Byer
Note: this can land separate from the WebKit-side patch since it's also behind a compile ...
9 years, 6 months ago (2011-05-31 19:05:08 UTC) #1
darin (slow to review)
http://codereview.chromium.org/7034052/diff/1/build/features_override.gypi File build/features_override.gypi (right): http://codereview.chromium.org/7034052/diff/1/build/features_override.gypi#newcode130 build/features_override.gypi:130: ['OS=="linux" and enable_smooth_scrolling==1', { i don't quite understand why ...
9 years, 6 months ago (2011-05-31 20:40:24 UTC) #2
Scott Byer
http://codereview.chromium.org/7034052/diff/1/build/features_override.gypi File build/features_override.gypi (right): http://codereview.chromium.org/7034052/diff/1/build/features_override.gypi#newcode130 build/features_override.gypi:130: ['OS=="linux" and enable_smooth_scrolling==1', { Hmm, perhaps I'm being too ...
9 years, 6 months ago (2011-05-31 21:02:45 UTC) #3
darin (slow to review)
> http://codereview.chromium.org/7034052/diff/1/webkit/glue/webpreferences.cc > File webkit/glue/webpreferences.cc (right): > > http://codereview.chromium.org/7034052/diff/1/webkit/glue/webpreferences.cc#newcode233 > webkit/glue/webpreferences.cc:233: #if defined(ENABLE_SMOOTH_SCROLLING) > On ...
9 years, 6 months ago (2011-05-31 22:50:29 UTC) #4
Scott Byer
On 2011/05/31 22:50:29, darin wrote: > Oh, can you just wait for the webkit change ...
9 years, 6 months ago (2011-05-31 23:14:55 UTC) #5
Scott Byer
WebKit patch now at https://bugs.webkit.org/show_bug.cgi?id=16123. Can you assign the bug to me and/or add EditBugs ...
9 years, 6 months ago (2011-06-01 17:40:50 UTC) #6
vangelis
LGTM minus the comments. http://codereview.chromium.org/7034052/diff/11001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7034052/diff/11001/chrome/app/generated_resources.grd#newcode4293 chrome/app/generated_resources.grd:4293: Enable the experimental smooth scrolling ...
9 years, 6 months ago (2011-06-02 20:33:56 UTC) #7
Scott Byer
http://codereview.chromium.org/7034052/diff/11001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7034052/diff/11001/chrome/app/generated_resources.grd#newcode4293 chrome/app/generated_resources.grd:4293: Enable the experimental smooth scrolling implemntation. On 2011/06/02 20:33:56, ...
9 years, 6 months ago (2011-06-02 21:07:26 UTC) #8
vangelis
http://codereview.chromium.org/7034052/diff/11001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/7034052/diff/11001/chrome/browser/about_flags.cc#newcode324 chrome/browser/about_flags.cc:324: kOsAll, On 2011/06/02 21:07:26, Scott Byer wrote: > On ...
9 years, 6 months ago (2011-06-02 21:13:12 UTC) #9
Scott Byer
PTAL. The WebKit side of the patch is in trunk.
9 years, 6 months ago (2011-06-22 18:53:35 UTC) #10
tony
LGTM, with some small nits. http://codereview.chromium.org/7034052/diff/18001/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/7034052/diff/18001/build/common.gypi#newcode149 build/common.gypi:149: 'enable_smooth_scrolling%': 0, You don't ...
9 years, 6 months ago (2011-06-22 19:11:31 UTC) #11
commit-bot: I haz the power
Can't apply patch for file chrome/common/chrome_switches.h. While running patch -p1 --forward --force; patching file chrome/common/chrome_switches.h ...
9 years, 6 months ago (2011-06-22 22:10:42 UTC) #12
commit-bot: I haz the power
Presubmit check for 7034052-26011 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-22 22:37:32 UTC) #13
Scott Byer
Darin or Brett? The change to view_message.h is a one-liner. -Scott On Wed, Jun 22, ...
9 years, 6 months ago (2011-06-22 22:57:46 UTC) #14
brettw
view_message.h LGTM
9 years, 6 months ago (2011-06-22 23:06:47 UTC) #15
commit-bot: I haz the power
9 years, 6 months ago (2011-06-23 00:05:41 UTC) #16
Change committed as 90136

Powered by Google App Engine
This is Rietveld 408576698