| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/touch/tabs/touch_tab_strip.h" | |
| 6 | |
| 7 #include "chrome/browser/ui/touch/tabs/touch_tab.h" | |
| 8 #include "ui/views/widget/widget.h" | |
| 9 | |
| 10 TouchTabStrip::TouchTabStrip(TabStripController* controller) | |
| 11 : TabStrip(controller) { | |
| 12 } | |
| 13 | |
| 14 TouchTabStrip::~TouchTabStrip() { | |
| 15 } | |
| 16 | |
| 17 void TouchTabStrip::OnDragEntered(const views::DropTargetEvent& event) { | |
| 18 // TODO(saintlou): To implement or to ignore? | |
| 19 NOTIMPLEMENTED(); | |
| 20 } | |
| 21 | |
| 22 int TouchTabStrip::OnDragUpdated(const views::DropTargetEvent& event) { | |
| 23 // TODO(saintlou): To implement or to ignore? | |
| 24 NOTIMPLEMENTED(); | |
| 25 return 0; | |
| 26 } | |
| 27 | |
| 28 void TouchTabStrip::OnDragExited() { | |
| 29 // TODO(saintlou): To implement or to ignore? | |
| 30 NOTIMPLEMENTED(); | |
| 31 } | |
| 32 | |
| 33 int TouchTabStrip::OnPerformDrop(const views::DropTargetEvent& event) { | |
| 34 // TODO(saintlou): To implement or to ignore? | |
| 35 NOTIMPLEMENTED(); | |
| 36 return 0; | |
| 37 } | |
| 38 | |
| 39 BaseTab* TouchTabStrip::CreateTab() { | |
| 40 return new TouchTab(this); | |
| 41 } | |
| 42 | |
| 43 ui::TouchStatus TouchTabStrip::OnTouchEvent(const views::TouchEvent& event) { | |
| 44 // TODO(saintlou): To implement. | |
| 45 NOTIMPLEMENTED(); | |
| 46 return ui::TOUCH_STATUS_UNKNOWN; | |
| 47 } | |
| OLD | NEW |