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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 6529037: Rename ProcessPaint to Paint() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « chrome/browser/ui/views/tabs/side_tab_strip.cc ('k') | views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
===================================================================
--- chrome/browser/ui/views/tabs/tab_strip.cc (revision 75035)
+++ chrome/browser/ui/views/tabs/tab_strip.cc (working copy)
@@ -276,7 +276,7 @@
if (tab->dragging()) {
dragging_tab = tab;
} else if (!tab->IsSelected()) {
- tab->ProcessPaint(canvas);
+ tab->Paint(canvas);
} else {
selected_tab = tab;
}
@@ -295,14 +295,14 @@
// Paint the selected tab last, so it overlaps all the others.
if (selected_tab)
- selected_tab->ProcessPaint(canvas);
+ selected_tab->Paint(canvas);
// Paint the New Tab button.
- newtab_button_->ProcessPaint(canvas);
+ newtab_button_->Paint(canvas);
// And the dragged tab.
if (dragging_tab)
- dragging_tab->ProcessPaint(canvas);
+ dragging_tab->Paint(canvas);
}
// Overridden to support automation. See automation_proxy_uitest.cc.
« no previous file with comments | « chrome/browser/ui/views/tabs/side_tab_strip.cc ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698