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

Issue 363523002: Fix extension scrollbar regression bug, and add a regression test to (Closed)

Created:
6 years, 5 months ago by Chris Thompson
Modified:
6 years, 5 months ago
Reviewers:
Finnur
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix extension scrollbar regression bug, and add a regression test to catch similar issues in the future. This changes the extension_install_dialog_view permission strings layout to have a fixed width for the bullet, centered, and subtract that width from the width used to size the permission string label. This also adds two browser tests: one to test that a scrollbar _does_ show for a very long set of permissions, and one for the specific regression case from the bug. BUG=385570 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283968

Patch Set 1 #

Patch Set 2 : Fixed dialog view instantiation #

Patch Set 3 : Cleaned up test structure, removed test that didn't work #

Patch Set 4 : Rebase-update #

Patch Set 5 : Switched GridLayout column to allow resizing #

Patch Set 6 : Change BulletedView to have fixed width bullet, adjust other widths #

Patch Set 7 : Small fixes to clean up code #

Total comments: 35

Patch Set 8 : Fixing review comments (cleaned up imports, added back anonymous namespace, cleanup and nitfixes) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -244 lines) Patch
A chrome/browser/ui/views/extensions/extension_install_dialog_view.h View 1 2 3 4 5 6 7 1 chunk +256 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 2 3 4 5 6 7 13 chunks +24 lines, -244 lines 0 comments Download
A chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +180 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/install_prompt/permissions_scrollbar_regression/manifest.json View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Chris Thompson
finnur@ could you PTAL?
6 years, 5 months ago (2014-07-16 00:54:33 UTC) #1
Finnur
Happy to see this come to fruition. Minor things... https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc File chrome/browser/ui/views/extensions/extension_install_dialog_view.cc (left): https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc#oldcode58 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc:58: ...
6 years, 5 months ago (2014-07-16 10:36:12 UTC) #2
Chris Thompson
https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc File chrome/browser/ui/views/extensions/extension_install_dialog_view.cc (left): https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc#oldcode58 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc:58: namespace { On 2014/07/16 10:36:12, Finnur wrote: > Why ...
6 years, 5 months ago (2014-07-16 20:13:29 UTC) #3
Finnur
LGTM https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc File chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc (right): https://codereview.chromium.org/363523002/diff/120001/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc#newcode71 chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc:71: class ScrollbarTest : public ExtensionBrowserTest { That would ...
6 years, 5 months ago (2014-07-17 10:12:14 UTC) #4
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 5 months ago (2014-07-17 19:56:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/363523002/140001
6 years, 5 months ago (2014-07-17 19:57:37 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 22:58:09 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 23:19:12 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/172174)
6 years, 5 months ago (2014-07-17 23:19:13 UTC) #9
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 5 months ago (2014-07-18 00:30:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/363523002/140001
6 years, 5 months ago (2014-07-18 00:33:14 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 01:41:37 UTC) #12
Message was sent while issue was closed.
Change committed as 283968

Powered by Google App Engine
This is Rietveld 408576698