|
events: Start changing EventHandler interface to not return a value.
The EventHandler should explicitly stop the propagation of an event
(Event::StopPropagation()), or mark it has having been handled
(Event::PreventDefault()), by calling a function on the event
object, instead of returning a value from the event-handler functions.
This patch takes the first step by converting EventHandler::OnEvent. Subsequent
patches will conver the event-specific callbacks (OnKeyEvent etc.)
BUG= 163618
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170801
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -101 lines) |
Patch |
 |
M |
ui/aura/root_window.h
|
View
|
1
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window.cc
|
View
|
1
2
|
8 chunks |
+25 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event.h
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event.cc
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event_dispatcher.h
|
View
|
|
5 chunks |
+22 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event_dispatcher.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event_dispatcher_unittest.cc
|
View
|
1
2
|
8 chunks |
+20 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ui/base/events/event_handler.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/events/event_handler.cc
|
View
|
1
2
|
1 chunk |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/views/corewm/activation_change_shim.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/corewm/activation_change_shim.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/corewm/focus_change_shim.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/corewm/focus_change_shim.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/corewm/focus_controller.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/corewm/focus_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|