|
|
Allow Widget to pass accelerator handling to its parent.
This enables passing of both ui::Accelerator and Mac-specific commands
from Widget to its parent regulated by Widget::InitParams::
pass_accelerator_to_parent.
Regular views accelerator handling involves overriding
FocusManagerDelegate which forwards all requests to parent's
FocusManager.
Mac-specific handling is done by overriding
UserInterfaceItemCommandHandler which forwards all request to parent's
NSWindow (if it supports CommandDispatchingWindow protocol).
BUG= 603881
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+612 lines, -4 lines) |
Patch |
 |
M |
ui/views/BUILD.gn
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/bubble/bubble_dialog_delegate.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/cocoa/native_widget_mac_accelerator_handler.h
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/cocoa/native_widget_mac_accelerator_handler.mm
|
View
|
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/view.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_mac.mm
|
View
|
|
2 chunks |
+14 lines, -1 line |
2 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_mac_unittest.mm
|
View
|
|
5 chunks |
+170 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.h
|
View
|
|
4 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
|
5 chunks |
+29 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ui/views/widget/widget_accelerator_handling_delegate.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/widget/widget_accelerator_handling_delegate.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_unittest.cc
|
View
|
|
1 chunk |
+189 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|