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

Issue 3858002: Show "Update Chrome OS" in the wrench menu, when the update image is ready. (Closed)

Created:
10 years, 2 months ago by satorux1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Show "Update Chrome OS" in the wrench menu, when the update image is ready. Along the way, replace "About Chrome" with "About Chrome OS" in the wrench menu. TEST=Connect to a dev server with a newer version, and check that the menu item appears, and the dialog works. BUG=chromium-os:6526 BUG=chromium-os:7847 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63491

Patch Set 1 #

Total comments: 3

Patch Set 2 : address comments #

Patch Set 3 : bubble #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -12 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/dom_ui/options/about_page_handler.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/options/about_page_handler.cc View 5 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/about_page.js View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/views/update_recommended_message_box.cc View 1 2 3 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/wrench_menu_model.cc View 1 3 chunks +19 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
satorux1
10 years, 2 months ago (2010-10-18 10:56:24 UTC) #1
satorux1
Ping in case you missed this one. This is an R9 P1 issue per Kan.
10 years, 2 months ago (2010-10-19 04:47:21 UTC) #2
zel
http://codereview.chromium.org/3858002/diff/1/2 File chrome/browser/views/frame/browser_view.cc (left): http://codereview.chromium.org/3858002/diff/1/2#oldcode1071 chrome/browser/views/frame/browser_view.cc:1071: #if defined(OS_WIN) I am not sure that we want ...
10 years, 2 months ago (2010-10-19 15:16:47 UTC) #3
zel
http://codereview.chromium.org/3858002/diff/1/3 File chrome/browser/views/update_recommended_message_box.cc (right): http://codereview.chromium.org/3858002/diff/1/3#newcode40 chrome/browser/views/update_recommended_message_box.cc:40: chromeos::CrosLibrary::Get()->GetLoginLibrary()->StopSession(""); I think we were supposed to restart the ...
10 years, 2 months ago (2010-10-19 15:38:11 UTC) #4
satorux1
http://codereview.chromium.org/3858002/diff/1/3 File chrome/browser/views/update_recommended_message_box.cc (right): http://codereview.chromium.org/3858002/diff/1/3#newcode40 chrome/browser/views/update_recommended_message_box.cc:40: chromeos::CrosLibrary::Get()->GetLoginLibrary()->StopSession(""); On 2010/10/19 15:38:11, zel wrote: > I think ...
10 years, 2 months ago (2010-10-20 00:44:24 UTC) #5
Daniel Erat
On 2010/10/20 00:44:24, satorux1 wrote: > http://codereview.chromium.org/3858002/diff/1/3 > File chrome/browser/views/update_recommended_message_box.cc (right): > > http://codereview.chromium.org/3858002/diff/1/3#newcode40 > ...
10 years, 2 months ago (2010-10-20 00:57:39 UTC) #6
kanliu_google.com
+benson On Tue, Oct 19, 2010 at 5:57 PM, <derat@chromium.org> wrote: > On 2010/10/20 00:44:24, ...
10 years, 2 months ago (2010-10-20 00:59:10 UTC) #7
satorux1
On 2010/10/20 00:57:39, Daniel Erat wrote: > On 2010/10/20 00:44:24, satorux1 wrote: > > http://codereview.chromium.org/3858002/diff/1/3 ...
10 years, 2 months ago (2010-10-20 01:42:21 UTC) #8
satorux1
On 2010/10/20 01:42:21, satorux1 wrote: > On 2010/10/20 00:57:39, Daniel Erat wrote: > > On ...
10 years, 2 months ago (2010-10-20 06:03:41 UTC) #9
kanliu_google.com
adding benson back in the thread, i thought we already had something like this? how ...
10 years, 2 months ago (2010-10-20 06:07:52 UTC) #10
satorux1
Kan, this is a great point. I found this code in the login screen code: ...
10 years, 2 months ago (2010-10-20 06:24:34 UTC) #11
satorux1
Added bleung to the reviewer list. On 2010/10/20 06:24:34, satorux1 wrote: > Kan, this is ...
10 years, 2 months ago (2010-10-20 06:26:34 UTC) #12
Benson Leung
Adding a restart should be simple. shutdown -r now is indeed the correct thing to ...
10 years, 2 months ago (2010-10-20 06:42:48 UTC) #13
satorux1
Benson, Does that mean that we should NOT use this function while running Chrome, as ...
10 years, 2 months ago (2010-10-20 06:57:25 UTC) #14
Benson Leung
We would probably not have to create two different confs for shutdown and reboot. It ...
10 years, 2 months ago (2010-10-20 07:42:05 UTC) #15
satorux1
Benson, I think it's nice to have a graceful reboot feature that follows the same ...
10 years, 2 months ago (2010-10-21 00:12:39 UTC) #16
Benson Leung
On 2010/10/21 00:12:39, satorux1 wrote: > Benson, > > I think it's nice to have ...
10 years, 2 months ago (2010-10-21 00:19:19 UTC) #17
satorux1
Thanks. Filed a bug: http://crosbug.com/7995 On 2010/10/21 00:19:19, Benson Leung wrote: > On 2010/10/21 00:12:39, ...
10 years, 2 months ago (2010-10-21 00:37:20 UTC) #18
satorux1
Please take another look. Addressed the two issues: 1. We should "restart" rather than "log ...
10 years, 2 months ago (2010-10-21 10:38:53 UTC) #19
zel
LGTM Btw, does your dialog still has that blue Win95 look and feel? If so, ...
10 years, 2 months ago (2010-10-22 01:15:22 UTC) #20
satorux1
Thanks. Looking at this change: http://codereview.chromium.org/3538012/diff/26001/27007 It should be as easy as replacing a function ...
10 years, 2 months ago (2010-10-22 01:29:34 UTC) #21
satorux1
Done. Worked perfectly. On 2010/10/22 01:29:34, satorux1 wrote: > Thanks. > > Looking at this ...
10 years, 2 months ago (2010-10-22 01:42:01 UTC) #22
zel
10 years, 2 months ago (2010-10-22 01:57:46 UTC) #23
Great! Ship it!

On Thu, Oct 21, 2010 at 6:42 PM, <satorux@chromium.org> wrote:

> Done. Worked perfectly.
>
>
> On 2010/10/22 01:29:34, satorux1 wrote:
>
>> Thanks.
>>
>
>  Looking at this change:
>>
> http://codereview.chromium.org/3538012/diff/26001/27007
>
>  It should be as easy as replacing a function call:
>>
>
>  -  views::Window* window = views::Window::CreateChromeWindow(
>> +  views::Window* window = browser::CreateViewsWindow(
>>
>
>  I'll give it a try.
>>
>
>  On 2010/10/22 01:15:22, zel wrote:
>> > LGTM
>> >
>> > Btw, does your dialog still has that blue Win95 look and feel? If so,
>> please
>> > ping xiyuan@ to give you instructions how to change it to match the
>> official
>> > ChromeOS look.
>>
>
>
>
> http://codereview.chromium.org/3858002/show
>

Powered by Google App Engine
This is Rietveld 408576698