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

Issue 12210050: Expose FS show/hide thresholds to Command Line (Closed)

Created:
7 years, 10 months ago by David Trainor- moved to gerrit
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Visibility:
Public.

Description

Expose FS show/hide thresholds to Command Line Pipe the show/hide thresholds out to the command line. Allow for them not to be based on one parameter (there isn't one split point that determines show/hide). Instead there are two thresholds, one for showing and one for hiding. The ambiguous area is handled by determining whether or not the scroll was, as a whole, moving up or down. BUG=174449 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183870

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments, added unit tests #

Total comments: 2

Patch Set 3 : Address test naming nit #

Total comments: 2

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -24 lines) Patch
M cc/layer_tree_host_impl.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M cc/layer_tree_settings.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_tree_settings.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/switches.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/switches.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M cc/top_controls_manager.h View 1 3 chunks +17 lines, -3 lines 0 comments Download
M cc/top_controls_manager.cc View 1 2 3 6 chunks +39 lines, -11 lines 0 comments Download
M cc/top_controls_manager_unittest.cc View 1 2 3 7 chunks +134 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/common/CommandLine.java View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
David Trainor- moved to gerrit
ptal
7 years, 10 months ago (2013-02-06 23:54:03 UTC) #1
Ted C
https://codereview.chromium.org/12210050/diff/1/cc/switches.cc File cc/switches.cc (right): https://codereview.chromium.org/12210050/diff/1/cc/switches.cc#newcode36 cc/switches.cc:36: // How much of the top controls need to ...
7 years, 10 months ago (2013-02-07 00:40:26 UTC) #2
David Trainor- moved to gerrit
Addressed comments. ptal https://chromiumcodereview.appspot.com/12210050/diff/1/cc/switches.cc File cc/switches.cc (right): https://chromiumcodereview.appspot.com/12210050/diff/1/cc/switches.cc#newcode36 cc/switches.cc:36: // How much of the top ...
7 years, 10 months ago (2013-02-11 19:38:28 UTC) #3
Ted C
lgtm w/ naming nit https://chromiumcodereview.appspot.com/12210050/diff/5002/cc/top_controls_manager_unittest.cc File cc/top_controls_manager_unittest.cc (right): https://chromiumcodereview.appspot.com/12210050/diff/5002/cc/top_controls_manager_unittest.cc#newcode254 cc/top_controls_manager_unittest.cc:254: TEST(TopControlsManagerTest, partialHideWithAmbiguousThresholdShows) { I guess ...
7 years, 10 months ago (2013-02-12 15:40:03 UTC) #4
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/12210050/diff/5002/cc/top_controls_manager_unittest.cc File cc/top_controls_manager_unittest.cc (right): https://chromiumcodereview.appspot.com/12210050/diff/5002/cc/top_controls_manager_unittest.cc#newcode254 cc/top_controls_manager_unittest.cc:254: TEST(TopControlsManagerTest, partialHideWithAmbiguousThresholdShows) { On 2013/02/12 15:40:03, Ted C wrote: ...
7 years, 10 months ago (2013-02-12 18:19:25 UTC) #5
David Trainor- moved to gerrit
Alex: Could you take a look at render_process_host_impl James: Can you take a look at ...
7 years, 10 months ago (2013-02-14 22:57:58 UTC) #6
jamesr
Seems reasonable, but some of these pieces have mode around. https://codereview.chromium.org/12210050/diff/12003/webkit/compositor_bindings/web_layer_tree_view_impl.cc File webkit/compositor_bindings/web_layer_tree_view_impl.cc (right): https://codereview.chromium.org/12210050/diff/12003/webkit/compositor_bindings/web_layer_tree_view_impl.cc#newcode68 ...
7 years, 10 months ago (2013-02-20 08:08:35 UTC) #7
aelias_OOO_until_Jul13
render_process_host_impl.cc flag addition lgtm
7 years, 10 months ago (2013-02-20 08:19:20 UTC) #8
aelias_OOO_until_Jul13
render_process_host_impl.cc flag addition lgtm
7 years, 10 months ago (2013-02-20 08:19:21 UTC) #9
David Trainor- moved to gerrit
rebased and moved settings setup code to render_widget_compositor.cc. ptal thanks! https://codereview.chromium.org/12210050/diff/12003/webkit/compositor_bindings/web_layer_tree_view_impl.cc File webkit/compositor_bindings/web_layer_tree_view_impl.cc (right): https://codereview.chromium.org/12210050/diff/12003/webkit/compositor_bindings/web_layer_tree_view_impl.cc#newcode68 ...
7 years, 10 months ago (2013-02-21 02:07:36 UTC) #10
jamesr
lgtm
7 years, 10 months ago (2013-02-21 02:11:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/12210050/18001
7 years, 10 months ago (2013-02-21 06:40:01 UTC) #12
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) build http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=21401
7 years, 10 months ago (2013-02-21 08:05:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/12210050/27003
7 years, 10 months ago (2013-02-21 18:05:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/12210050/27003
7 years, 10 months ago (2013-02-21 22:08:44 UTC) #15
commit-bot: I haz the power
7 years, 10 months ago (2013-02-21 22:27:44 UTC) #16
Message was sent while issue was closed.
Change committed as 183870

Powered by Google App Engine
This is Rietveld 408576698