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

Issue 893843007: Experiment to hide close buttons of inactive tabs when using touch (Closed)

Created:
5 years, 10 months ago by tdanderson
Modified:
5 years, 10 months ago
Reviewers:
Mark P, sky, no sievers
CC:
chromium-reviews, tfarina, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Experiment to hide close buttons of inactive tabs when using touch Add the flag --tab-close-buttons-hidden-with-touch, which gives options for having the close buttons on inactive tabs hidden when touch is used to interact with the tabstrip. The flag gives four options: * Always show the tab close buttons. This is the default and is the current behaviour. * Always hide the tab close buttons. * Hide the tab close buttons once the tabs become narrower than their standard width. * Hide the tab close buttons once the tabs begin stacking. BUG=455312 TEST=none Committed: https://crrev.com/8edd6e43a27564d8fab055d29c2177b253541495 Cr-Commit-Position: refs/heads/master@{#315684}

Patch Set 1 #

Total comments: 9

Patch Set 2 : sky's comments #

Patch Set 3 : added flag to histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 3 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
tdanderson
Hi Scott, can you please take a first look at this CL + my inline ...
5 years, 10 months ago (2015-02-06 20:34:33 UTC) #2
sky
https://codereview.chromium.org/893843007/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/893843007/diff/1/chrome/app/generated_resources.grd#newcode6452 chrome/app/generated_resources.grd:6452: + <message name="IDS_FLAGS_TAB_CLOSE_BUTTONS_HIDDEN_WITH_TOUCH_NAME" desc=""> Do we really need all ...
5 years, 10 months ago (2015-02-07 00:09:39 UTC) #3
tdanderson
Scott, can you please take another look? https://codereview.chromium.org/893843007/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/893843007/diff/1/chrome/app/generated_resources.grd#newcode6452 chrome/app/generated_resources.grd:6452: + <message ...
5 years, 10 months ago (2015-02-10 18:52:17 UTC) #4
sky
LGTM
5 years, 10 months ago (2015-02-10 20:09:10 UTC) #5
tdanderson
sievers@: Can you PTAL at my changes in content/ ? mpearson@: Can you PTAL at ...
5 years, 10 months ago (2015-02-10 21:59:00 UTC) #8
no sievers
On 2015/02/10 21:59:00, tdanderson wrote: > sievers@: Can you PTAL at my changes in content/ ...
5 years, 10 months ago (2015-02-10 22:07:56 UTC) #9
Mark P
histograms.xml lgtm
5 years, 10 months ago (2015-02-10 23:10:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/893843007/40001
5 years, 10 months ago (2015-02-10 23:25:15 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-11 00:19:57 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-11 00:20:54 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8edd6e43a27564d8fab055d29c2177b253541495
Cr-Commit-Position: refs/heads/master@{#315684}

Powered by Google App Engine
This is Rietveld 408576698