|
Move the panel to the root window where the mouse click occurred.
* Change the LauncherDelegate::ItemClicked's argument from
int flag to const ui::Event&
* temporarily set the view's event target to RV. Sadrul
is working on real solution in crbug.com/173235.
I tried to add interactive_ui_tests for chrome, but turns
out it's require more work as there is no interactive ui tests for
extensions. I'd rather refactor launcher code so that we can test
the same behavior in ash_unittests. I'll work on it and add more tests
once @skuhne finished new launcher (could be 26 or 27)
BUG= 166195
TEST=covered by tests. Also tested on device (clicking panel icon on other display should move the panel to that display)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180080
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+172 lines, -33 lines) |
Patch |
 |
M |
ash/launcher/launcher.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_delegate.h
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_util.h
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_util.cc
|
View
|
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/launcher/launcher_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/launcher_delegate_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/launcher_delegate_impl.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/test_launcher_delegate.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/test_launcher_delegate.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/panel_layout_manager_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+90 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/browser_launcher_item_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_item_controller.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/root_view.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|