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

Issue 899443002: Create bookmark apps at the end of the process. (Closed)

Created:
5 years, 10 months ago by benwells
Modified:
5 years, 10 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.

Description

Create bookmark apps at the end of the process. Prior to this change bookmark apps were created as soon as the user started the process. If the user quit the process the app was then removed. This made the flow feel strange, and also caused any matching app that previously existed to be deleted if the user quit the process. BUG=438019 Committed: https://crrev.com/da4b8ca729ece8bf351dd68c7288f3e3805da013 Cr-Commit-Position: refs/heads/master@{#314720}

Patch Set 1 #

Patch Set 2 : Mac / test compilation #

Patch Set 3 : Unit tests, mac compile, clean up #

Patch Set 4 : Hopefully last test #

Total comments: 6

Patch Set 5 : Rebase #

Patch Set 6 : Feedback #

Total comments: 8

Patch Set 7 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -289 lines) Patch
M chrome/browser/extensions/api/management/chrome_management_api_delegate.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.h View 1 2 3 4 5 3 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 2 3 4 5 6 6 chunks +121 lines, -9 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 4 chunks +2 lines, -21 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 6 chunks +10 lines, -63 lines 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h View 4 chunks +19 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc View 1 2 3 4 5 6 5 chunks +53 lines, -135 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/common/web_application_info.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/web_application_info.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/base/test_browser_window.h View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
benwells
5 years, 10 months ago (2015-02-02 20:46:19 UTC) #2
calamity
lgtm. https://codereview.chromium.org/899443002/diff/60001/chrome/browser/extensions/bookmark_app_helper.cc File chrome/browser/extensions/bookmark_app_helper.cc (right): https://codereview.chromium.org/899443002/diff/60001/chrome/browser/extensions/bookmark_app_helper.cc#newcode393 chrome/browser/extensions/bookmark_app_helper.cc:393: extensions::LaunchType launch_type = web_app_info_.open_as_window Comment about what these ...
5 years, 10 months ago (2015-02-03 07:29:49 UTC) #3
benwells
+thestig for owners review for non-c/b/extensions stuff (but look at that too if you want, ...
5 years, 10 months ago (2015-02-03 08:54:13 UTC) #5
Lei Zhang
https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc (right): https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc#newcode46 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc:46: int size = static_cast<int>(dip_size_ * scale); Can this overflow? ...
5 years, 10 months ago (2015-02-03 18:37:49 UTC) #6
mitchellj
Tested this out on Mac, seems to be good. https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode516 chrome/browser/ui/cocoa/browser_window_cocoa.mm:516: ...
5 years, 10 months ago (2015-02-03 23:43:47 UTC) #8
benwells
https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://codereview.chromium.org/899443002/diff/100001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode516 chrome/browser/ui/cocoa/browser_window_cocoa.mm:516: [open_as_window_checkbox setState:web_app_info.open_as_window]; On 2015/02/03 23:43:47, mitchellj wrote: > Don't ...
5 years, 10 months ago (2015-02-04 16:01:00 UTC) #9
Lei Zhang
lgtm
5 years, 10 months ago (2015-02-04 19:21:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899443002/120001
5 years, 10 months ago (2015-02-05 02:11:43 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-05 02:15:33 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 02:17:21 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/da4b8ca729ece8bf351dd68c7288f3e3805da013
Cr-Commit-Position: refs/heads/master@{#314720}

Powered by Google App Engine
This is Rietveld 408576698