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

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

Issue 2593273002: Replace TabStripTest.TabHitTestMaskWhenStacked with something more meaningful. (Closed)
Patch Set: Resync Created 3 years, 11 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.h ('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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 typedef std::map<int, Tabs> TabsClosingMap; 268 typedef std::map<int, Tabs> TabsClosingMap;
269 typedef std::pair<TabsClosingMap::iterator, 269 typedef std::pair<TabsClosingMap::iterator,
270 Tabs::iterator> FindClosingTabResult; 270 Tabs::iterator> FindClosingTabResult;
271 271
272 class RemoveTabDelegate; 272 class RemoveTabDelegate;
273 273
274 friend class TabDragController; 274 friend class TabDragController;
275 friend class TabDragControllerTest; 275 friend class TabDragControllerTest;
276 friend class TabStripTest; 276 friend class TabStripTest;
277 FRIEND_TEST_ALL_PREFIXES(TabDragControllerTest, GestureEndShouldEndDragTest); 277 FRIEND_TEST_ALL_PREFIXES(TabDragControllerTest, GestureEndShouldEndDragTest);
278 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabHitTestMaskWhenStacked); 278 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabForEventWhenStacked);
279 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabCloseButtonVisibilityWhenStacked); 279 FRIEND_TEST_ALL_PREFIXES(TabStripTest, TabCloseButtonVisibilityWhenStacked);
280 280
281 // Used during a drop session of a url. Tracks the position of the drop as 281 // Used during a drop session of a url. Tracks the position of the drop as
282 // well as a window used to highlight where the drop occurs. 282 // well as a window used to highlight where the drop occurs.
283 struct DropInfo { 283 struct DropInfo {
284 DropInfo(int drop_index, 284 DropInfo(int drop_index,
285 bool drop_before, 285 bool drop_before,
286 bool point_down, 286 bool point_down,
287 views::Widget* context); 287 views::Widget* context);
288 ~DropInfo(); 288 ~DropInfo();
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 bool immersive_style_; 653 bool immersive_style_;
654 654
655 // Our observers. 655 // Our observers.
656 typedef base::ObserverList<TabStripObserver> TabStripObservers; 656 typedef base::ObserverList<TabStripObserver> TabStripObservers;
657 TabStripObservers observers_; 657 TabStripObservers observers_;
658 658
659 DISALLOW_COPY_AND_ASSIGN(TabStrip); 659 DISALLOW_COPY_AND_ASSIGN(TabStrip);
660 }; 660 };
661 661
662 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 662 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.h ('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