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

Unified Diff: chrome/browser/ui/views/tabs/tab.h

Issue 1710253003: Misc. Tab-related cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better structure for #ifdefs Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab.h
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index 67be96c27d37a08a91ac3c439dbb1ccc67127d93..74d34307440a645c91ebeb73bf7a96a41fb40201 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -52,7 +52,7 @@ class Tab : public gfx::AnimationDelegate,
// The Tab's class name.
static const char kViewClassName[];
- explicit Tab(TabController* controller);
+ Tab(TabController* controller, gfx::AnimationContainer* container);
~Tab() override;
TabController* controller() const { return controller_; }
@@ -72,9 +72,6 @@ class Tab : public gfx::AnimationDelegate,
SkColor button_color() const { return button_color_; }
- // Sets the container all animations run from.
- void SetAnimationContainer(gfx::AnimationContainer* container);
-
// Returns true if this tab is the active tab.
bool IsActive() const;
@@ -247,7 +244,7 @@ class Tab : public gfx::AnimationDelegate,
// Paint with the "immersive mode" light-bar style.
void PaintImmersiveTab(gfx::Canvas* canvas);
- // Paint various portions of the Tab
+ // Paint various portions of the Tab.
void PaintTabBackground(gfx::Canvas* canvas);
void PaintInactiveTabBackgroundWithTitleChange(gfx::Canvas* canvas);
void PaintInactiveTabBackground(gfx::Canvas* canvas);
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698