OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/touch/tabs/touch_tab_strip.h" | 5 #include "chrome/browser/ui/touch/tabs/touch_tab_strip.h" |
6 | 6 |
7 #include "chrome/browser/ui/touch/tabs/touch_tab.h" | 7 #include "chrome/browser/ui/touch/tabs/touch_tab.h" |
8 #include "views/widget/widget.h" | 8 #include "ui/views/widget/widget.h" |
9 | 9 |
10 TouchTabStrip::TouchTabStrip(TabStripController* controller) | 10 TouchTabStrip::TouchTabStrip(TabStripController* controller) |
11 : TabStrip(controller) { | 11 : TabStrip(controller) { |
12 } | 12 } |
13 | 13 |
14 TouchTabStrip::~TouchTabStrip() { | 14 TouchTabStrip::~TouchTabStrip() { |
15 } | 15 } |
16 | 16 |
17 void TouchTabStrip::OnDragEntered(const views::DropTargetEvent& event) { | 17 void TouchTabStrip::OnDragEntered(const views::DropTargetEvent& event) { |
18 // TODO(saintlou): To implement or to ignore? | 18 // TODO(saintlou): To implement or to ignore? |
(...skipping 19 matching lines...) Expand all Loading... |
38 | 38 |
39 BaseTab* TouchTabStrip::CreateTab() { | 39 BaseTab* TouchTabStrip::CreateTab() { |
40 return new TouchTab(this); | 40 return new TouchTab(this); |
41 } | 41 } |
42 | 42 |
43 ui::TouchStatus TouchTabStrip::OnTouchEvent(const views::TouchEvent& event) { | 43 ui::TouchStatus TouchTabStrip::OnTouchEvent(const views::TouchEvent& event) { |
44 // TODO(saintlou): To implement. | 44 // TODO(saintlou): To implement. |
45 NOTIMPLEMENTED(); | 45 NOTIMPLEMENTED(); |
46 return ui::TOUCH_STATUS_UNKNOWN; | 46 return ui::TOUCH_STATUS_UNKNOWN; |
47 } | 47 } |
OLD | NEW |