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

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

Issue 2878072: Merge 53736 - Make theme change notifications auto-propagate through the view... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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/views/tabs/tab.cc ('k') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/animation_container.h" 8 #include "app/animation_container.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void Layout(); 82 virtual void Layout();
83 virtual gfx::Size GetPreferredSize(); 83 virtual gfx::Size GetPreferredSize();
84 // NOTE: the drag and drop methods are invoked from FrameView. This is done to 84 // NOTE: the drag and drop methods are invoked from FrameView. This is done to
85 // allow for a drop region that extends outside the bounds of the TabStrip. 85 // allow for a drop region that extends outside the bounds of the TabStrip.
86 virtual void OnDragEntered(const views::DropTargetEvent& event); 86 virtual void OnDragEntered(const views::DropTargetEvent& event);
87 virtual int OnDragUpdated(const views::DropTargetEvent& event); 87 virtual int OnDragUpdated(const views::DropTargetEvent& event);
88 virtual void OnDragExited(); 88 virtual void OnDragExited();
89 virtual int OnPerformDrop(const views::DropTargetEvent& event); 89 virtual int OnPerformDrop(const views::DropTargetEvent& event);
90 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 90 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
91 virtual views::View* GetViewForPoint(const gfx::Point& point); 91 virtual views::View* GetViewForPoint(const gfx::Point& point);
92 virtual void ThemeChanged(); 92 virtual void OnThemeChanged();
93 93
94 protected: 94 protected:
95 // BaseTabStrip overrides: 95 // BaseTabStrip overrides:
96 virtual BaseTab* CreateTab(); 96 virtual BaseTab* CreateTab();
97 virtual void StartInsertTabAnimation(int model_index, bool foreground); 97 virtual void StartInsertTabAnimation(int model_index, bool foreground);
98 virtual void StartMoveTabAnimation(); 98 virtual void StartMoveTabAnimation();
99 virtual void AnimateToIdealBounds(); 99 virtual void AnimateToIdealBounds();
100 virtual bool ShouldHighlightCloseButtonAfterRemove(); 100 virtual bool ShouldHighlightCloseButtonAfterRemove();
101 101
102 // views::View implementation: 102 // views::View implementation:
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // Used for stage 1 of new tab animation. 312 // Used for stage 1 of new tab animation.
313 base::OneShotTimer<TabStrip> new_tab_timer_; 313 base::OneShotTimer<TabStrip> new_tab_timer_;
314 314
315 // Whether the new tab button is being displayed. 315 // Whether the new tab button is being displayed.
316 bool new_tab_button_enabled_; 316 bool new_tab_button_enabled_;
317 317
318 DISALLOW_COPY_AND_ASSIGN(TabStrip); 318 DISALLOW_COPY_AND_ASSIGN(TabStrip);
319 }; 319 };
320 320
321 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 321 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/tab.cc ('k') | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698