|
Makes the maximize/restore button handling
snapping/minimizing. FrameMaximizeButton handles all the logic for
this. If you move the mouse the drag threshold we'll trigger to
snapping behavior. moving to the left snaps to the left half, moving
to the right the right half, and below minimizes. Uses
PhantomWindowController to render the snap position. Minimizing
highlights the launcher button. To support this I had to plumb through
getting the bounds of the launcher button.
BUG= 116213
TEST=none
R=ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126729
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+424 lines, -19 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher.h
|
View
|
|
5 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher.cc
|
View
|
|
3 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_button.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_button.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_delegate.h
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_view.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_view.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_main.cc
|
View
|
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/window_type_launcher.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/window_type_launcher.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/custom_frame_view_ash.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
ash/wm/workspace/frame_maximize_button.h
|
View
|
1
2
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/workspace/frame_maximize_button.cc
|
View
|
|
1 chunk |
+217 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/phantom_window_controller.cc
|
View
|
1
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/image_button.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/image_button.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|