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

Issue 5019005: Add "open as window" menu item to NTP app menu. (Closed)

Created:
10 years, 1 month ago by Sam Kerner (Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org, arv (Not doing code reviews), Aaron Boodman
Visibility:
Public.

Description

Add "open as window" menu item to NTP app menu. BUG=59697 TEST=BrowserTest.OpenAppWindowLikeNtp,SessionRestoreUITest.RestoreAfterClosing* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66646 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66954

Patch Set 1 : Add test. #

Total comments: 7

Patch Set 2 : Address review comments. #

Total comments: 15

Patch Set 3 : Address more review comments. #

Patch Set 4 : git try #

Patch Set 5 : Back out removal of is_ready(), because removal breaks some notification listners. #

Patch Set 6 : Rebase for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -98 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/background_application_list_model.cc View 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browser_browsertest.cc View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/app_launcher_handler.cc View 1 2 4 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/dom_ui/ntp_resource_cache.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_dom_ui.cc View 1 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 1 chunk +13 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_startup_browsertest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/new_new_tab.html View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 4 5 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/sessions/session_restore.cc View 5 chunks +1 line, -53 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 2 3 4 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Sam Kerner (Chrome)
http://codereview.chromium.org/5019005/diff/8001/chrome/browser/extensions/extension_dom_ui.cc File chrome/browser/extensions/extension_dom_ui.cc (left): http://codereview.chromium.org/5019005/diff/8001/chrome/browser/extensions/extension_dom_ui.cc#oldcode245 chrome/browser/extensions/extension_dom_ui.cc:245: NOTREACHED() << "Chrome URL override requested before extensions loaded"; ...
10 years, 1 month ago (2010-11-17 05:07:35 UTC) #1
Aaron Boodman
I think we may not have app windows on os x. Can you check on ...
10 years, 1 month ago (2010-11-17 06:12:47 UTC) #2
Aaron Boodman
+andybons who can answer about mac.
10 years, 1 month ago (2010-11-17 06:13:29 UTC) #3
Bons
On 2010/11/17 06:13:29, Aaron Boodman wrote: > +andybons who can answer about mac. Aaron is ...
10 years, 1 month ago (2010-11-17 16:24:17 UTC) #4
Sam Kerner (Chrome)
Ready for another look. Removed the menu option on mac os. http://codereview.chromium.org/5019005/diff/8001/chrome/browser/extensions/extension_dom_ui.cc File chrome/browser/extensions/extension_dom_ui.cc (left): ...
10 years, 1 month ago (2010-11-18 03:53:36 UTC) #5
Aaron Boodman
Great. A few last minor things. http://codereview.chromium.org/5019005/diff/21001/chrome/browser/background_application_list_model.cc File chrome/browser/background_application_list_model.cc (right): http://codereview.chromium.org/5019005/diff/21001/chrome/browser/background_application_list_model.cc#newcode243 chrome/browser/background_application_list_model.cc:243: if (!service) I ...
10 years, 1 month ago (2010-11-18 07:49:03 UTC) #6
Sam Kerner (Chrome)
http://codereview.chromium.org/5019005/diff/21001/chrome/browser/background_application_list_model.cc File chrome/browser/background_application_list_model.cc (right): http://codereview.chromium.org/5019005/diff/21001/chrome/browser/background_application_list_model.cc#newcode243 chrome/browser/background_application_list_model.cc:243: if (!service) On 2010/11/18 07:49:03, Aaron Boodman wrote: > ...
10 years, 1 month ago (2010-11-18 15:34:01 UTC) #7
Aaron Boodman
lgtm http://codereview.chromium.org/5019005/diff/21001/chrome/browser/resources/ntp/apps.js File chrome/browser/resources/ntp/apps.js (right): http://codereview.chromium.org/5019005/diff/21001/chrome/browser/resources/ntp/apps.js#newcode25 chrome/browser/resources/ntp/apps.js:25: $('apps-launch-type-window-menu-item').style.display = On 2010/11/18 15:34:01, Sam Kerner (Chrome) ...
10 years, 1 month ago (2010-11-18 16:16:00 UTC) #8
arv (Not doing code reviews)
FYI http://codereview.chromium.org/5019005/diff/21001/chrome/browser/resources/ntp/apps.js File chrome/browser/resources/ntp/apps.js (right): http://codereview.chromium.org/5019005/diff/21001/chrome/browser/resources/ntp/apps.js#newcode25 chrome/browser/resources/ntp/apps.js:25: $('apps-launch-type-window-menu-item').style.display = On 2010/11/18 16:16:00, Aaron Boodman wrote: ...
10 years, 1 month ago (2010-11-18 19:02:49 UTC) #9
Sam Kerner (Chrome)
Aaron
10 years, 1 month ago (2010-11-22 03:22:14 UTC) #10
Sam Kerner (Chrome)
Aaron, After committing, I found some interesting bugs, and backed out this change. Many observers ...
10 years, 1 month ago (2010-11-22 03:35:16 UTC) #11
Aaron Boodman
10 years, 1 month ago (2010-11-22 07:59:36 UTC) #12
Makes sense. Sorry for misdirecting you.

LGTM

Powered by Google App Engine
This is Rietveld 408576698