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

Issue 3453029: Add user customizable launch type for apps. (Closed)

Created:
10 years, 2 months ago by Bons
Modified:
9 years, 5 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Erik does not do reviews, pam+watch_chromium.org, davemoore+watch_chromium.org, arv (Not doing code reviews), Aaron Boodman
Visibility:
Public.

Description

o Add user customizable launch type for apps by adding options in each apps context menu. o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification. o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist. o Some minor refactoring within the code to reduce duplication. BUG=54731 TEST=NONE patch from issue 3419010 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60997 Reverted: http://crrev.com/61000 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61021

Patch Set 1 #

Patch Set 2 : Make pinned the default launch type. #

Patch Set 3 : Whitespace and deleting a comment that was a question. #

Total comments: 28

Patch Set 4 : Addressing Erik's comments #

Total comments: 10

Patch Set 5 : Addressing Aaron's changes. #

Patch Set 6 : Fix windows compile error. #

Patch Set 7 : New upload for new try. #

Patch Set 8 : trying again. image included? #

Patch Set 9 : No images this time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -60 lines) Patch
M chrome/browser/browser.cc View 1 2 3 4 2 chunks +20 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/cros_settings.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/dom_ui/app_launcher_handler.h View 1 2 3 4 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/app_launcher_handler.cc View 1 2 3 4 10 chunks +46 lines, -12 lines 0 comments Download
M chrome/browser/dom_ui/ntp_resource_cache.cc View 1 2 3 4 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 3 4 3 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 20 chunks +74 lines, -22 lines 0 comments Download
M chrome/browser/prefs/pref_notifier.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/new_new_tab.html View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 4 5 6 chunks +50 lines, -1 line 0 comments Download
M chrome/browser/resources/shared/css/menu.css View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/command.js View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/menu_item.js View 4 chunks +11 lines, -0 lines 0 comments Download
M tools/grit/grit/format/html_inline.py View 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Bons
10 years, 2 months ago (2010-09-28 00:55:39 UTC) #1
arv (Not doing code reviews)
Andy, thanks for taking over. I can't see the diffs in the last three files ...
10 years, 2 months ago (2010-09-28 01:12:35 UTC) #2
Bons
Thanks for the quick pass, arv. Will address code comments when I get into the ...
10 years, 2 months ago (2010-09-28 16:08:19 UTC) #3
arv (Not doing code reviews)
The last 3 files look good to me :-)
10 years, 2 months ago (2010-09-28 16:16:23 UTC) #4
Erik does not do reviews
http://codereview.chromium.org/3453029/diff/9001/10001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/3453029/diff/9001/10001#newcode579 chrome/browser/browser.cc:579: case ExtensionPrefs::LAUNCH_PINNED: add default: and just put the logic ...
10 years, 2 months ago (2010-09-28 16:54:37 UTC) #5
Aaron Boodman
http://codereview.chromium.org/3453029/diff/9001/10003 File chrome/browser/dom_ui/app_launcher_handler.cc (right): http://codereview.chromium.org/3453029/diff/9001/10003#newcode61 chrome/browser/dom_ui/app_launcher_handler.cc:61: extensions_service_->extension_prefs()->pref_service()->RemovePrefObserver( On 2010/09/28 16:54:37, Erik Kay wrote: > I'm ...
10 years, 2 months ago (2010-09-28 19:09:49 UTC) #6
Bons
http://codereview.chromium.org/3453029/diff/9001/10001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/3453029/diff/9001/10001#newcode579 chrome/browser/browser.cc:579: case ExtensionPrefs::LAUNCH_PINNED: On 2010/09/28 16:54:37, Erik Kay wrote: > ...
10 years, 2 months ago (2010-09-28 19:54:27 UTC) #7
Erik does not do reviews
LGTM http://codereview.chromium.org/3453029/diff/9001/10007 File chrome/browser/extensions/extension_prefs.h (right): http://codereview.chromium.org/3453029/diff/9001/10007#newcode222 chrome/browser/extensions/extension_prefs.h:222: // Additionally fires a PREF_CHANGED notification with the ...
10 years, 2 months ago (2010-09-28 22:34:06 UTC) #8
Aaron Boodman
http://codereview.chromium.org/3453029/diff/45001/46003 File chrome/browser/dom_ui/app_launcher_handler.cc (right): http://codereview.chromium.org/3453029/diff/45001/46003#newcode121 chrome/browser/dom_ui/app_launcher_handler.cc:121: These blank lines aren't necessary. You could remove them ...
10 years, 2 months ago (2010-09-28 22:36:37 UTC) #9
Bons
Changes made. http://codereview.chromium.org/3453029/diff/9001/10007 File chrome/browser/extensions/extension_prefs.h (right): http://codereview.chromium.org/3453029/diff/9001/10007#newcode222 chrome/browser/extensions/extension_prefs.h:222: // Additionally fires a PREF_CHANGED notification with ...
10 years, 2 months ago (2010-09-29 17:55:21 UTC) #10
Aaron Boodman
10 years, 2 months ago (2010-09-29 21:14:10 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698