Chromium Code Reviews| Index: chrome/browser/ui/touch/tabs/touch_tab.cc |
| diff --git a/chrome/browser/ui/touch/tabs/touch_tab.cc b/chrome/browser/ui/touch/tabs/touch_tab.cc |
| index b5812a921f44afa26a438897185b1b06809e2b1d..9efd1435c7fbebe1d12e626d28f0f2697cf694d7 100644 |
| --- a/chrome/browser/ui/touch/tabs/touch_tab.cc |
| +++ b/chrome/browser/ui/touch/tabs/touch_tab.cc |
| @@ -57,6 +57,20 @@ const gfx::Rect& TouchTab::GetIconBounds() const { |
| //////////////////////////////////////////////////////////////////////////////// |
| // TouchTab, views::View overrides: |
| +// We'll get selected via the mouse interactions with the TouchTabStrip. There |
| +// is need to directly handle the mouse movements in the TouchTab. |
|
sky
2011/04/06 15:11:50
This last sentence is incomplete.
wyck
2011/04/06 20:14:24
Fixed
|
| + |
| +bool TouchTab::OnMousePressed(const views::MouseEvent& event) { |
| + return false; |
| +} |
| + |
| +bool TouchTab::OnMouseDragged(const views::MouseEvent& event) { |
| + return false; |
| +} |
| + |
| +void TouchTab::OnMouseReleased(const views::MouseEvent& event, bool canceled) { |
| +} |
| + |
| void TouchTab::OnPaint(gfx::Canvas* canvas) { |
| // Don't paint if we're narrower than we can render correctly. (This should |
| // only happen during animations). |