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

Issue 933163002: Remove default button highlighting from extension info dialog (Closed)

Created:
5 years, 10 months ago by tsergeant
Modified:
5 years, 9 months ago
Reviewers:
sashab, benwells
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove default button highlighting from extension info dialog This dialog does not have a single call-to-action button. Additionally, the existing highlight implementation is a side-effect of using DialogClientView, which is not well suited to this container. This CL changes NativeDialogContainer to use a regular ClientView, removing the default highlighting from the dialog, and refactors the two containers to use a common base class. BUG=445695 Committed: https://crrev.com/b5bbc014ae5602c7333fe995619418846e418adb Cr-Commit-Position: refs/heads/master@{#318206}

Patch Set 1 #

Patch Set 2 : Move CreateClientView #

Total comments: 6

Patch Set 3 : Refactor out base dialog class #

Patch Set 4 : Add comment #

Total comments: 1

Patch Set 5 : Update comment #

Total comments: 2

Patch Set 6 : Remove GetInitiallyFocusedView #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -47 lines) Patch
M chrome/browser/ui/views/app_list/app_list_dialog_container.cc View 1 2 3 4 5 5 chunks +59 lines, -47 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
tsergeant
New version of this bug, following on from https://crrev.com/865873005. See the bug for justification for ...
5 years, 10 months ago (2015-02-18 07:00:11 UTC) #2
sashab
Looking good! Some stuff to think about :) https://codereview.chromium.org/933163002/diff/20001/chrome/browser/ui/views/app_list/app_list_dialog_container.cc File chrome/browser/ui/views/app_list/app_list_dialog_container.cc (right): https://codereview.chromium.org/933163002/diff/20001/chrome/browser/ui/views/app_list/app_list_dialog_container.cc#newcode153 chrome/browser/ui/views/app_list/app_list_dialog_container.cc:153: class ...
5 years, 10 months ago (2015-02-18 22:16:46 UTC) #3
tsergeant
Updated! I've refactored the common parts of the two classes out into a base class ...
5 years, 10 months ago (2015-02-19 02:51:59 UTC) #4
tsergeant
Adding benwells@ as a reviewer and moving tapted@ to CC, since benwells originally reviewed this ...
5 years, 10 months ago (2015-02-23 23:36:40 UTC) #6
sashab
This lgtm, but see what benwells thinks of the code structure. When I originally wrote ...
5 years, 10 months ago (2015-02-23 23:38:00 UTC) #8
benwells
Adding myself as reviewer since I've been asked to look. Is the description for this ...
5 years, 10 months ago (2015-02-24 07:44:41 UTC) #10
tsergeant
On 2015/02/24 07:44:41, benwells (OOO to 24 Feb) wrote: > Adding myself as reviewer since ...
5 years, 9 months ago (2015-02-24 23:57:25 UTC) #11
benwells
Overall this is a lovely change. Just one question... https://codereview.chromium.org/933163002/diff/80001/chrome/browser/ui/views/app_list/app_list_dialog_container.cc File chrome/browser/ui/views/app_list/app_list_dialog_container.cc (right): https://codereview.chromium.org/933163002/diff/80001/chrome/browser/ui/views/app_list/app_list_dialog_container.cc#newcode91 chrome/browser/ui/views/app_list/app_list_dialog_container.cc:91: ...
5 years, 9 months ago (2015-02-26 01:27:29 UTC) #12
tsergeant
I've uploaded a new patch with the single-line change from below. https://codereview.chromium.org/933163002/diff/80001/chrome/browser/ui/views/app_list/app_list_dialog_container.cc File chrome/browser/ui/views/app_list/app_list_dialog_container.cc (right): ...
5 years, 9 months ago (2015-02-26 02:53:14 UTC) #13
benwells
nice, i like removing code we don't need. still lgtm.
5 years, 9 months ago (2015-02-26 03:03:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933163002/100001
5 years, 9 months ago (2015-02-26 03:15:04 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-02-26 07:26:41 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-02-26 07:27:32 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b5bbc014ae5602c7333fe995619418846e418adb
Cr-Commit-Position: refs/heads/master@{#318206}

Powered by Google App Engine
This is Rietveld 408576698