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

Issue 180723010: Added tabs to the App Info dialog. (Closed)

Created:
6 years, 10 months ago by sashab
Modified:
6 years, 9 months ago
Reviewers:
benwells, Matt Giuca
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Added tabs to the App Info dialog, and removed the title. Removed the title to make the tabs start at the very top of the dialog. Has 3 tabs: Summary, Permissions and Manage - The Summary tab displays the app's icon, name, version and description. - The Permissions tab displays the app's permissions as a scrollable list - The Manage tab is currently empty. BUG=266739 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255880

Patch Set 1 #

Patch Set 2 : Removed refactoring around permissions; reverted to old permissions design for permissions tab #

Patch Set 3 : Linking moved files #

Total comments: 25

Patch Set 4 : Some minor fixes and renames. #

Total comments: 1

Patch Set 5 : Reverted ShowAppInfoDialog rename #

Total comments: 4

Patch Set 6 : Removed TabbedPane implementation #

Total comments: 2

Patch Set 7 : Final fix. Uploaded from different computer so may not work #

Unified diffs Side-by-side diffs Delta from patch set Stats (+589 lines, -339 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +18 lines, -6 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc View 1 2 3 4 5 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.h View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/apps/app_info_dialog_views.h View 1 chunk +0 lines, -84 lines 0 comments Download
D chrome/browser/ui/views/apps/app_info_dialog_views.cc View 1 chunk +0 lines, -247 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
sashab
There are a few more changes coming after this that contain small features. This review ...
6 years, 10 months ago (2014-02-27 06:20:03 UTC) #1
Matt Giuca
Having not looked at the code yet, a few comments: - Well done, this is ...
6 years, 10 months ago (2014-02-27 06:48:40 UTC) #2
sashab
I have removed the whole 'BulletedScrollList' and similar refactoring of the permissions tab. Now the ...
6 years, 10 months ago (2014-02-27 08:42:52 UTC) #3
Matt Giuca
Good, I'm quite happy with the amount of work being done in this CL and ...
6 years, 9 months ago (2014-03-04 01:36:56 UTC) #4
sashab
Fixed up comments & renamed classes as per discussion. https://codereview.chromium.org/180723010/diff/50001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/180723010/diff/50001/chrome/app/generated_resources.grd#newcode2220 chrome/app/generated_resources.grd:2220: ...
6 years, 9 months ago (2014-03-04 04:10:58 UTC) #5
Matt Giuca
LGTM but please revert the ShowChromeAppInfoDialog change. https://codereview.chromium.org/180723010/diff/50001/chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_summary_views.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_summary_views.cc (right): https://codereview.chromium.org/180723010/diff/50001/chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_summary_views.cc#newcode33 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab_summary_views.cc:33: weak_ptr_factory_(this) { ...
6 years, 9 months ago (2014-03-04 04:51:12 UTC) #6
sashab
Thanks, reverted. benwells can you review?
6 years, 9 months ago (2014-03-04 21:26:37 UTC) #7
benwells
looking really good! https://codereview.chromium.org/180723010/diff/90001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc (right): https://codereview.chromium.org/180723010/diff/90001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc#newcode53 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc:53: tabbed_pane_->set_listener(this); Is this needed? I tried ...
6 years, 9 months ago (2014-03-05 05:11:02 UTC) #8
sashab
Removed TabbedPane implementation - nice find! :-) https://codereview.chromium.org/180723010/diff/90001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc (right): https://codereview.chromium.org/180723010/diff/90001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc#newcode53 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc:53: tabbed_pane_->set_listener(this); On ...
6 years, 9 months ago (2014-03-06 23:31:03 UTC) #9
benwells
https://codereview.chromium.org/180723010/diff/110001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h (right): https://codereview.chromium.org/180723010/diff/110001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h#newcode50 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h:50: views::TabbedPane* tabbed_pane_; This member isn't needed any more.
6 years, 9 months ago (2014-03-07 00:00:33 UTC) #10
sashab
Fixed, thanks for finding that for me. Only weird thing now is that chrome/chrome_browser_ui.gypi seems ...
6 years, 9 months ago (2014-03-07 02:28:46 UTC) #11
benwells
lgtm
6 years, 9 months ago (2014-03-07 02:33:31 UTC) #12
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 9 months ago (2014-03-07 02:33:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/180723010/130001
6 years, 9 months ago (2014-03-07 02:37:06 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 05:23:56 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 05:23:57 UTC) #16
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 9 months ago (2014-03-07 06:12:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/180723010/130001
6 years, 9 months ago (2014-03-07 06:14:58 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 15:16:23 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=277341
6 years, 9 months ago (2014-03-07 15:16:23 UTC) #20
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 9 months ago (2014-03-09 22:28:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/180723010/130001
6 years, 9 months ago (2014-03-09 22:28:51 UTC) #22
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 06:20:22 UTC) #23
Message was sent while issue was closed.
Change committed as 255880

Powered by Google App Engine
This is Rietveld 408576698