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 8399044: aura: Make sure the desktop widget gets parented to the correct container. (Closed)

Created:
9 years, 1 month ago by sadrul
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

aura: Make sure the desktop widget gets parented to the correct container, and is of correct type. This fixes these issue: . clicking on the desktop window ends up shrinking the desktop itself. . the desktop window gets in front of the chrome window on startup. . crash when mousewheeling on the desktop. Also check for NULL active_workspace_ to avoid a crash when clicking on an empty desktop. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107594

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M ui/aura_shell/desktop_background_view.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M ui/aura_shell/examples/lock_view.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
sadrul
9 years, 1 month ago (2011-10-27 16:24:55 UTC) #1
sadrul
The desktop widget also needs to be a toplevel Widget to have a FocusManager. Otherwise ...
9 years, 1 month ago (2011-10-27 17:02:51 UTC) #2
sadrul
Also added a crash fix for a second-click on an empty desktop.
9 years, 1 month ago (2011-10-27 17:14:10 UTC) #3
Ben Goodger (Google)
9 years, 1 month ago (2011-10-27 17:28:30 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698