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

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

Issue 275023: Adds some debugging code in hopes of isolating a crasher. From the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « no previous file | chrome/browser/views/tabs/tab_strip.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include "base/gfx/point.h" 8 #include "base/gfx/point.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 28 matching lines...) Expand all
39 // in response to dragged tabs. 39 // in response to dragged tabs.
40 // 40 //
41 /////////////////////////////////////////////////////////////////////////////// 41 ///////////////////////////////////////////////////////////////////////////////
42 class TabStrip : public views::View, 42 class TabStrip : public views::View,
43 public TabStripModelObserver, 43 public TabStripModelObserver,
44 public Tab::TabDelegate, 44 public Tab::TabDelegate,
45 public views::ButtonListener, 45 public views::ButtonListener,
46 public MessageLoopForUI::Observer, 46 public MessageLoopForUI::Observer,
47 public TabStripWrapper { 47 public TabStripWrapper {
48 public: 48 public:
49 TabStrip(TabStripModel* model); 49 explicit TabStrip(TabStripModel* model);
50 virtual ~TabStrip(); 50 virtual ~TabStrip();
51 51
52 // Returns true if the TabStrip can accept input events. This returns false 52 // Returns true if the TabStrip can accept input events. This returns false
53 // when the TabStrip is animating to a new state and as such the user should 53 // when the TabStrip is animating to a new state and as such the user should
54 // not be allowed to interact with the TabStrip. 54 // not be allowed to interact with the TabStrip.
55 bool CanProcessInputEvents() const; 55 bool CanProcessInputEvents() const;
56 56
57 // Accessors for the model and individual Tabs. 57 // Accessors for the model and individual Tabs.
58 TabStripModel* model() { return model_; } 58 TabStripModel* model() { return model_; }
59 59
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 }; 395 };
396 std::vector<TabData> tab_data_; 396 std::vector<TabData> tab_data_;
397 397
398 // The currently running animation. 398 // The currently running animation.
399 scoped_ptr<TabAnimation> active_animation_; 399 scoped_ptr<TabAnimation> active_animation_;
400 400
401 DISALLOW_COPY_AND_ASSIGN(TabStrip); 401 DISALLOW_COPY_AND_ASSIGN(TabStrip);
402 }; 402 };
403 403
404 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 404 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698