|
Consolidate/cleanup event cracking code; single out GdkEvents; saves ~850 lines.
Move ui::NativeEvent typdefs and common functions to ui/base/events.h.
Remove NativeEvent2 typedef, single out GdkEvent* uses that should be removed.
Implement platform specific ui/base/[platform]/events_[platform].cc.
Revise views::NativeEvent definitions (to support Aura abstraction).
Consolidate Event[Type/Flags/Location]FromNative(), GetMouseWheelOffset(), etc.
Remove GetRepeatCount(), GetWindowsFlags(), IsExtendedKey(), etc.
Add IsMouseEvent(), KeyboardCodeFromNative(), EF_EXTENDED flag, etc.
Localize GetFlagsFromGdkEvent(), move some file locals to new helpers files.
Move views/touchui/touch_factory.h|cc to ui/base/touch.
Stop mixing Windows mouse events' MK_*BUTTON into their wParams.
BUG= 93945
TEST=No build breaks (many configs...), no mouse/key behavior changes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102815
Total comments: 1
Total comments: 2
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1062 lines, -2642 lines) |
Patch |
 |
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/frame/panel_controller.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/dropdown_bar_host_gtk.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/location_bar_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/native_web_keyboard_event_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/aura.gyp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/event.h
|
View
|
1
2
|
5 chunks |
+7 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ui/aura/event.cc
|
View
|
1
2
3
|
4 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
 |
D |
ui/aura/event_win.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -222 lines |
0 comments
|
Download
|
 |
D |
ui/aura/event_x.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -193 lines |
0 comments
|
Download
|
 |
M |
ui/base/events.h
|
View
|
1
2
3
4
5
|
3 chunks |
+45 lines, -1 line |
0 comments
|
Download
|
 |
A |
ui/base/touch/OWNERS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/base/touch/touch_factory.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
ui/base/touch/touch_factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
A |
ui/base/wayland/events_wayland.cc
|
View
|
1
2
3
4
|
1 chunk |
+133 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/base/win/events_win.cc
|
View
|
1
2
3
4
|
1 chunk |
+210 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/base/x/events_x.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+241 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ui.gyp
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/ui_views.gypi
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/events/event.h
|
View
|
1
2
3
|
4 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/views/events/event.cc
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
D |
ui/views/events/event_win.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -187 lines |
0 comments
|
Download
|
 |
D |
ui/views/native_types.h
|
View
|
1
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
views/controls/menu/menu_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/textfield/textfield.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/events/event.h
|
View
|
1
2
3
4
5
|
13 chunks |
+48 lines, -51 lines |
0 comments
|
Download
|
 |
M |
views/events/event.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+52 lines, -18 lines |
0 comments
|
Download
|
 |
M |
views/events/event_aura.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -87 lines |
0 comments
|
Download
|
 |
M |
views/events/event_gtk.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+111 lines, -104 lines |
0 comments
|
Download
|
 |
D |
views/events/event_utils_win.h
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
D |
views/events/event_utils_win.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
views/events/event_wayland.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -193 lines |
0 comments
|
Download
|
 |
M |
views/events/event_win.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -288 lines |
0 comments
|
Download
|
 |
M |
views/events/event_x.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+67 lines, -320 lines |
0 comments
|
Download
|
 |
M |
views/focus/accelerator_handler_touch.cc
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
|
views/ime/input_method_gtk.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
views/ime/input_method_ibus.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
D |
views/native_types.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
 |
M |
views/touchui/gesture_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
D |
views/touchui/touch_factory.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -206 lines |
0 comments
|
Download
|
 |
|
views/touchui/touch_factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -502 lines |
0 comments
|
Download
|
 |
M |
views/views.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
views/widget/native_widget_gtk.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|