|
event-rewrite: Clean up how events are rewritten.
Notable changes:
* Make the EventRewriter a MessagePumpObserver. This is necessary to make sure
that the event-rewrite happens before the event is dispatched.
* Move the EventRewriter in chrome/browser/chromeos (and in chromeos namespace),
since it does nothing on other platforms.
* Get rid of the event-rewrite code from ash, since it just adds an extra layer
of abstraction for no added value.
BUG= 343639
R=derat@chromium.org, sky@chromium.org, stevenjb@chromium.org
Previously landed in r251382, but reverted in r251433 because it broke debug builds.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251607
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+332 lines, -4438 lines) |
Patch |
 |
M |
ash/accelerators/accelerator_dispatcher.cc
|
View
|
1
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
ash/event_rewriter_delegate.h
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
ash/wm/event_rewriter_event_filter.h
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
 |
D |
ash/wm/event_rewriter_event_filter.cc
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/accessibility/accessibility_manager.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/chrome_browser_main_chromeos.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/event_rewriter.h
|
View
|
1
|
10 chunks |
+38 lines, -66 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/event_rewriter.cc
|
View
|
1
2
3
4
|
20 chunks |
+217 lines, -374 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/event_rewriter_unittest.cc
|
View
|
1
2
3
|
17 chunks |
+48 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/keyboard_driven_event_rewriter.h
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/keyboard_driven_event_rewriter.cc
|
View
|
1
2
3
4
|
2 chunks |
+15 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/keyboard_driven_event_rewriter_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/ash_init.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/ash/event_rewriter.h
|
View
|
|
1 chunk |
+0 lines, -242 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/ash/event_rewriter.cc
|
View
|
|
1 chunk |
+0 lines, -1064 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/ash/event_rewriter_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2462 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|