| Index: ui/views/bubble/tray_bubble_view.cc
|
| diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc
|
| index 46eebae8b028a3e95ceb7d357b08bfebfb71b686..7126a0f4b833fcf989fc5d4fa57ced77c132fbef 100644
|
| --- a/ui/views/bubble/tray_bubble_view.cc
|
| +++ b/ui/views/bubble/tray_bubble_view.cc
|
| @@ -169,6 +169,19 @@ class BottomAlignedBoxLayout : public BoxLayout {
|
| using internal::TrayBubbleContentMask;
|
| using internal::BottomAlignedBoxLayout;
|
|
|
| +base::string16 TrayBubbleView::Delegate::GetAccessibleNameForBubble() {
|
| + return base::string16();
|
| +}
|
| +
|
| +bool TrayBubbleView::Delegate::ShouldEnableExtraKeyboardAccessibility() {
|
| + return false;
|
| +}
|
| +
|
| +bool TrayBubbleView::Delegate::ProcessGestureEventForBubble(
|
| + ui::GestureEvent* event) {
|
| + return false;
|
| +}
|
| +
|
| TrayBubbleView::InitParams::InitParams() = default;
|
|
|
| TrayBubbleView::InitParams::InitParams(const InitParams& other) = default;
|
| @@ -393,6 +406,11 @@ void TrayBubbleView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| }
|
| }
|
|
|
| +void TrayBubbleView::OnGestureEvent(ui::GestureEvent* event) {
|
| + if (!delegate_ || !delegate_->ProcessGestureEventForBubble(event))
|
| + BubbleDialogDelegateView::OnGestureEvent(event);
|
| +}
|
| +
|
| void TrayBubbleView::MouseMovedOutOfHost() {
|
| // The mouse was accidentally over the bubble when it opened and the AutoClose
|
| // logic was not activated. Now that the user did move the mouse we tell the
|
|
|