Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: chrome/browser/ui/touch/tabs/touch_tab_strip.cc

Issue 8678015: Touch constants and dead code removal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Sadrul's comments Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/touch/tabs/touch_tab_strip.h ('k') | chrome/browser/ui/touch/tabs/touch_tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698