|
|
Created:
4 years, 4 months ago by karandeepb Modified:
4 years, 3 months ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionExtensionInstallDialogView: Make scroll view and icon not overlap.
r411889 introduced scrolling with layers and gave the scroll view in
ExtensionInstallDialog an opaque background color. This caused the scroll view
to obscure the icon for the cases where the extension prompt has no webstore
data. This is because for this case, the scroll view and the icon view in the
ExtensionInstallDialogView overlap.
This CL fixes the regression by making the scroll view and icon view not overlap
for this case. The scroll view is extended to span the full content width and a
separator is added between the title and the scroll view if the prompt shows
permissions.
BUG=638093
Committed: https://crrev.com/25c3b927b343fb3388eb3f2eacd85e21e60ba9b8
Cr-Commit-Position: refs/heads/master@{#414259}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 19 (12 generated)
Description was changed from ========== --- --- BUG= ========== to ========== --- --- BUG= ==========
The CQ bit was checked by karandeepb@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== --- --- BUG= ========== to ========== ExtensionInstallDialogView: Make scroll view and icon not overlap. r411889 introduced scrolling with layers and gave the scroll view in ExtensionInstallDialog an opaque background color. This caused the scroll view to obscure the icon for the cases where the extension prompt has no webstore data. This is because for this case, the scroll view and the icon view in the ExtensionInstallDialogView overlap. This CL fixes the regression by making the scroll view and icon view not overlap for this case. The scroll view is extended to span the full content width and a separator is added between the title and the scroll view if the prompt shows permissions. BUG=638093 ==========
Patchset #1 (id:1) has been deleted
karandeepb@chromium.org changed reviewers: + treib@chromium.org
PTAL treib@. Since you are familiar with the code, can you review this before I send it for owner's approval. I have attached the screenshots on the bug report for the cases I tested manually. Let me know if there are any other cases worth testing. Also, I don't generally work on making UI changes. Is there a process to be followed for changes as small as these? https://codereview.chromium.org/2259723003/diff/20001/chrome/browser/ui/views... File chrome/browser/ui/views/extensions/extension_install_dialog_view.cc (right): https://codereview.chromium.org/2259723003/diff/20001/chrome/browser/ui/views... chrome/browser/ui/views/extensions/extension_install_dialog_view.cc:455: layout->AddView(title, 1, 1, views::GridLayout::LEADING, This helps decrease the gap b/w the title and body that you talked about in https://bugs.chromium.org/p/chromium/issues/detail?id=638093#c8
Code LGTM (and screenshots look good to me too), but you should probably talk to some UI folks before landing. If you don't have any UI folks nearby, maybe an email to chrome-ui-review@google.com would be best. Or maybe the owners for this code have some other suggestions. Thanks!
karandeepb@chromium.org changed reviewers: + finnur@chromium.org
PTAL finnur@ for owner's review. Also, treib@ suggested looping in some UI folks. Can you recommend someone? Screenshots on the bug report.
LGTM
The CQ bit was checked by karandeepb@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== ExtensionInstallDialogView: Make scroll view and icon not overlap. r411889 introduced scrolling with layers and gave the scroll view in ExtensionInstallDialog an opaque background color. This caused the scroll view to obscure the icon for the cases where the extension prompt has no webstore data. This is because for this case, the scroll view and the icon view in the ExtensionInstallDialogView overlap. This CL fixes the regression by making the scroll view and icon view not overlap for this case. The scroll view is extended to span the full content width and a separator is added between the title and the scroll view if the prompt shows permissions. BUG=638093 ========== to ========== ExtensionInstallDialogView: Make scroll view and icon not overlap. r411889 introduced scrolling with layers and gave the scroll view in ExtensionInstallDialog an opaque background color. This caused the scroll view to obscure the icon for the cases where the extension prompt has no webstore data. This is because for this case, the scroll view and the icon view in the ExtensionInstallDialogView overlap. This CL fixes the regression by making the scroll view and icon view not overlap for this case. The scroll view is extended to span the full content width and a separator is added between the title and the scroll view if the prompt shows permissions. BUG=638093 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== ExtensionInstallDialogView: Make scroll view and icon not overlap. r411889 introduced scrolling with layers and gave the scroll view in ExtensionInstallDialog an opaque background color. This caused the scroll view to obscure the icon for the cases where the extension prompt has no webstore data. This is because for this case, the scroll view and the icon view in the ExtensionInstallDialogView overlap. This CL fixes the regression by making the scroll view and icon view not overlap for this case. The scroll view is extended to span the full content width and a separator is added between the title and the scroll view if the prompt shows permissions. BUG=638093 ========== to ========== ExtensionInstallDialogView: Make scroll view and icon not overlap. r411889 introduced scrolling with layers and gave the scroll view in ExtensionInstallDialog an opaque background color. This caused the scroll view to obscure the icon for the cases where the extension prompt has no webstore data. This is because for this case, the scroll view and the icon view in the ExtensionInstallDialogView overlap. This CL fixes the regression by making the scroll view and icon view not overlap for this case. The scroll view is extended to span the full content width and a separator is added between the title and the scroll view if the prompt shows permissions. BUG=638093 Committed: https://crrev.com/25c3b927b343fb3388eb3f2eacd85e21e60ba9b8 Cr-Commit-Position: refs/heads/master@{#414259} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/25c3b927b343fb3388eb3f2eacd85e21e60ba9b8 Cr-Commit-Position: refs/heads/master@{#414259} |