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

Side by Side Diff: chrome/browser/ui/touch/tabs/touch_tab.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 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.h"
6
7 ////////////////////////////////////////////////////////////////////////////////
8 // TouchTab, public:
9
10 TouchTab::TouchTab(TabController* controller)
11 : Tab(controller) {
12 }
13
14 TouchTab::~TouchTab() {
15 }
16
17 // We only show the close button for the active tab.
18 bool TouchTab::ShouldShowCloseBox() const {
19 return IsCloseable() && IsActive();
20 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/touch/tabs/touch_tab.h ('k') | chrome/browser/ui/touch/tabs/touch_tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698