|
Auto hide app list on Windows when it loses focus.
This is a bit tricky as the app list should not hide when the taskbar gets focus. Handling this involves using a timer, when the app list does not have focus, to check whether either the taskbar or the app list has focus. Once one of these is not true the app list is closed.
This change also ensures that the app list is never opened multiple times.
Also includes is a bit of cleanup:
- AppListController has been renamed to AppListControllerDelegate
- a singleton AppListController has been introduced for Windows, similar to ash
- default implementations have been added to AppListControllerDelegate where it makes sense.
BUG= 152847, 152846
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161474
Total comments: 12
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -112 lines) |
Patch |
 |
M |
ash/shell/app_list.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_controller.h
|
View
|
|
1 chunk |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_controller.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_view_delegate.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_view_delegate.cc
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/apps_model_builder.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/apps_model_builder.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/extension_app_item.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/extension_app_item.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/search_builder.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/search_builder.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/app_list/app_list_controller_ash.h
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/app_list/app_list_controller_win.cc
|
View
|
1
2
3
|
10 chunks |
+162 lines, -68 lines |
1 comment
|
Download
|
 |
M |
ui/app_list/app_list_view.h
|
View
|
1
2
3
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/app_list_view.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/app_list_view_delegate.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|