|
aura: Draw drop shadows under browsers and menus.
This is largely a port of the existing X window manager's
code for drawing shadows around windows. It adds an
ImageGrid class for drawing a scaled 3x3 grid of gfx::Images
and a Shadow class (managed by aura_shell::ShadowController)
that uses ImageGrid to draw a shadow. Shadows can be
disabled via --aura-no-shadows.
BUG= 101977
TEST=added unit tests; also manually checked that shadows get drawn
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111009
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1133 lines, -15 lines) |
Patch |
 |
M |
chrome/browser/ui/views/frame/browser_frame_aura.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/aura_switches.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/aura_switches.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.cc
|
View
|
1
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
A |
ui/aura/client/shadow_types.h
|
View
|
1
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/desktop.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/desktop.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/desktop_observer.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window.cc
|
View
|
1
|
8 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_observer.h
|
View
|
1
|
1 chunk |
+19 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/aura_shell.gyp
|
View
|
1
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/desktop_layout_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura_shell/desktop_layout_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
ui/aura_shell/image_grid.h
|
View
|
1
|
1 chunk |
+187 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/image_grid.cc
|
View
|
1
|
1 chunk |
+182 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/image_grid_unittest.cc
|
View
|
1
2
|
1 chunk |
+201 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/shadow.h
|
View
|
1
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/shadow.cc
|
View
|
1
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/shadow_controller.h
|
View
|
1
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/shadow_controller.cc
|
View
|
1
|
1 chunk |
+143 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura_shell/shadow_controller_unittest.cc
|
View
|
1
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/shell.h
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/shell.cc
|
View
|
1
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura_shell/show_state_controller.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/widget/native_widget_aura.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|