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

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

Issue 1053143002: Make View::Paint use ui::PaintRecorder to access PaintContext's canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: paintrecorder: . Created 5 years, 9 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
Index: chrome/browser/ui/views/tabs/tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 2098994b91a98545a420cb0d8c68cc56c7c42b37..59d4029edc3cce262649d265421810414a968c13 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -245,7 +245,7 @@ class TabStrip : public views::View,
// views::View overrides:
void Layout() override;
- void PaintChildren(const PaintContext& context) override;
+ void PaintChildren(const ui::PaintContext& context) override;
const char* GetClassName() const override;
gfx::Size GetPreferredSize() const override;
// NOTE: the drag and drop methods are invoked from FrameView. This is done
@@ -431,7 +431,7 @@ class TabStrip : public views::View,
FindClosingTabResult FindClosingTab(const Tab* tab);
// Paints all the tabs in |tabs_closing_map_[index]|.
- void PaintClosingTabs(int index, const PaintContext& context);
+ void PaintClosingTabs(int index, const ui::PaintContext& context);
// Invoked when a mouse event occurs over |source|. Potentially switches the
// |stacked_layout_|.

Powered by Google App Engine
This is Rietveld 408576698