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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 149753007: Merge 249331 "Tab close buttons can only be targeted with touch ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 10 months 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 private: 265 private:
266 typedef std::map<int, std::vector<Tab*> > TabsClosingMap; 266 typedef std::map<int, std::vector<Tab*> > TabsClosingMap;
267 267
268 class RemoveTabDelegate; 268 class RemoveTabDelegate;
269 269
270 friend class TabDragController; 270 friend class TabDragController;
271 friend class TabDragControllerTest; 271 friend class TabDragControllerTest;
272 FRIEND_TEST_ALL_PREFIXES(TabDragControllerTest, GestureEndShouldEndDragTest); 272 FRIEND_TEST_ALL_PREFIXES(TabDragControllerTest, GestureEndShouldEndDragTest);
273 friend class TabStripTest; 273 friend class TabStripTest;
274 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabHitTestMaskWhenStacked); 274 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabHitTestMaskWhenStacked);
275 FRIEND_TEST_ALL_PREFIXES(TabStripTest, ClippedTabCloseButton);
275 276
276 // Used during a drop session of a url. Tracks the position of the drop as 277 // Used during a drop session of a url. Tracks the position of the drop as
277 // well as a window used to highlight where the drop occurs. 278 // well as a window used to highlight where the drop occurs.
278 struct DropInfo { 279 struct DropInfo {
279 DropInfo(int drop_index, 280 DropInfo(int drop_index,
280 bool drop_before, 281 bool drop_before,
281 bool point_down, 282 bool point_down,
282 views::Widget* context); 283 views::Widget* context);
283 ~DropInfo(); 284 ~DropInfo();
284 285
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 bool immersive_style_; 638 bool immersive_style_;
638 639
639 // Our observers. 640 // Our observers.
640 typedef ObserverList<TabStripObserver> TabStripObservers; 641 typedef ObserverList<TabStripObserver> TabStripObservers;
641 TabStripObservers observers_; 642 TabStripObservers observers_;
642 643
643 DISALLOW_COPY_AND_ASSIGN(TabStrip); 644 DISALLOW_COPY_AND_ASSIGN(TabStrip);
644 }; 645 };
645 646
646 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 647 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698