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

Issue 8509027: Add status area to Aura builds. (Closed)

Created:
9 years, 1 month ago by stevenjb
Modified:
9 years, 1 month ago
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, dhollowa
Visibility:
Public.

Description

Add status area to Aura builds. BUG=97263 TEST=Test status area buttons and associated menus in aura + win / linux / chromeos. (Only the clock and --memory-widget icon will show up on non-chromeos) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109841

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 8

Patch Set 3 : Address comments and fix windows #

Patch Set 4 : Rebase #

Patch Set 5 : Fix aura_shell_unittests #

Patch Set 6 : Move status area view ids back to chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -112 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/chrome_browser_parts_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/frame/browser_view.cc View 1 2 3 8 chunks +44 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/login/background_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.cc View 1 2 3 4 5 8 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/status/input_method_menu_button.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/memory_menu_button.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/status/memory_menu_button.cc View 1 2 3 4 5 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu_button.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/status_area_button.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/status_area_view.cc View 1 2 3 1 chunk +1 line, -11 lines 0 comments Download
M chrome/browser/chromeos/status/status_area_view_chromeos.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/aura/chrome_shell_delegate.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/aura/chrome_shell_delegate.cc View 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/aura/status_area_host_aura.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/aura/status_area_host_aura.cc View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/aura_shell/examples/aura_shell_main.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M ui/aura_shell/shell.h View 1 2 3 2 chunks +12 lines, -8 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 3 4 chunks +20 lines, -11 lines 0 comments Download
M ui/aura_shell/shell_delegate.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/aura_shell/stacking_controller_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
stevenjb
Much simpler CL for adding the status area to Aura. (A couple of re-factoring CLs ...
9 years, 1 month ago (2011-11-10 00:52:29 UTC) #1
sky
Since Dave has been reviewing this, I'm going to let him continue reviewing it. -Scott ...
9 years, 1 month ago (2011-11-10 01:39:23 UTC) #2
DaveMoore
lgtm modulo comments below http://codereview.chromium.org/8509027/diff/2001/chrome/browser/chromeos/status/clock_menu_button.cc File chrome/browser/chromeos/status/clock_menu_button.cc (right): http://codereview.chromium.org/8509027/diff/2001/chrome/browser/chromeos/status/clock_menu_button.cc#newcode45 chrome/browser/chromeos/status/clock_menu_button.cc:45: #if defined(OS_CHROMEOS) Whenever we have ...
9 years, 1 month ago (2011-11-10 02:05:46 UTC) #3
Nikita (slow)
When switching from login screen into user session, StatusArea is recreated with the different host ...
9 years, 1 month ago (2011-11-10 08:38:53 UTC) #4
stevenjb
9 years, 1 month ago (2011-11-10 19:57:52 UTC) #5
StatusAreaViewChromeos is created and owned by WebUILoginView and
chromeos::BrowserView respectively; it is not passed from one to the other.

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/chromeos/stat...
File chrome/browser/chromeos/status/clock_menu_button.cc (right):

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/chromeos/stat...
chrome/browser/chromeos/status/clock_menu_button.cc:45: #if defined(OS_CHROMEOS)
On 2011/11/10 02:05:46, DaveMoore wrote:
> Whenever we have a #if defined(OS_CHROMEOS) in a file that has chromeos in the
> path we should include an explaination.

Done.

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/renderer_host...
File chrome/browser/renderer_host/chrome_render_message_filter.cc (right):

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/renderer_host...
chrome/browser/renderer_host/chrome_render_message_filter.cc:376:
base::ThreadRestrictions::ScopedAllowIO allow_io;
On 2011/11/10 02:05:46, DaveMoore wrote:
> Should this be here (or in a separate cl)?

Will separate.

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/ui/views/aura...
File chrome/browser/ui/views/aura/status_area_host_aura.h (right):

http://codereview.chromium.org/8509027/diff/2001/chrome/browser/ui/views/aura...
chrome/browser/ui/views/aura/status_area_host_aura.h:31: virtual void
ExecuteStatusAreaCommand(
On 2011/11/10 02:05:46, DaveMoore wrote:
> No blank lines between decls

Done.

http://codereview.chromium.org/8509027/diff/2001/chrome/chrome_browser.gypi
File chrome/chrome_browser.gypi (right):

http://codereview.chromium.org/8509027/diff/2001/chrome/chrome_browser.gypi#n...
chrome/chrome_browser.gypi:4154: # Always include status area code for aura
builds.
On 2011/11/10 02:05:46, DaveMoore wrote:
> I understand that we want to share this between chromeos and aura for now,
with
> eventually making the chromeos build imply aura, but this is strange and
should
> be commented more explicitly.

Done.

Powered by Google App Engine
This is Rietveld 408576698