Commit 016663d8 authored by Weidong Guo's avatar Weidong Guo Committed by Commit Bot

Enable touch for pagination indicators on launcher

Changes:
Enable touch event in PageSwitcherButton.

BUG=750658

Change-Id: I293544abf5d90201687800d6d6d0451810dfaacd
Reviewed-on: https://chromium-review.googlesource.com/595127Reviewed-by: default avatarYury Khmel <khmel@chromium.org>
Commit-Queue: Weidong Guo <weidongg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491629}
parent 7ca06f6a
...@@ -72,11 +72,6 @@ class PageSwitcherButton : public views::CustomButton { ...@@ -72,11 +72,6 @@ class PageSwitcherButton : public views::CustomButton {
} }
protected: protected:
bool IsTriggerableEvent(const ui::Event& event) override {
return event.IsMouseEvent() &&
(triggerable_event_flags() & event.flags()) != 0;
}
std::unique_ptr<views::InkDrop> CreateInkDrop() override { std::unique_ptr<views::InkDrop> CreateInkDrop() override {
std::unique_ptr<views::InkDropImpl> ink_drop = std::unique_ptr<views::InkDropImpl> ink_drop =
CustomButton::CreateDefaultInkDropImpl(); CustomButton::CreateDefaultInkDropImpl();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment