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

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

Issue 1354823002: Render the tab close button as a vector-based icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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') | chrome/browser/ui/views/tabs/tab.cc » ('J')
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 c489362579855c14b2e33e36d4b943fcfe84cc55..d5f9b75ffd49cd7aa2f3fc93bfe0a3c30c1e013d 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -279,6 +279,10 @@ class Tab : public gfx::AnimationDelegate,
// Returns true if the crash animation is currently running.
bool IsPerformingCrashAnimation() const;
+ // Sets the close button normal-state image using the current
+ // |close_button_color_|.
+ void SetCloseButtonNormalImage();
miu 2015/09/18 01:13:37 naming: When I was originally reading this, I was
Peter Kasting 2015/09/18 01:17:13 Neither of those names would be accurate, though.
miu 2015/09/19 00:19:58 It's a moot point now (at patch set 3), but back a
+
// Schedules repaint task for icon.
void ScheduleIconPaint();
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab.cc » ('j') | chrome/browser/ui/views/tabs/tab.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698