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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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
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 73d24dc766edfed5d44b5b9a34ea8c35fbb225a6..ccd19ffc8d6711d01af98b8666758a39a5e55d31 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -68,7 +68,7 @@ class Tab : public BaseTab {
private:
// Overridden from views::View:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
virtual void Layout() OVERRIDE;
virtual void OnThemeChanged() OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
@@ -79,10 +79,10 @@ class Tab : public BaseTab {
virtual void OnMouseMoved(const views::MouseEvent& event) OVERRIDE;
// Paint various portions of the Tab
- void PaintTabBackground(gfx::Canvas* canvas);
- void PaintInactiveTabBackgroundWithTitleChange(gfx::Canvas* canvas);
- void PaintInactiveTabBackground(gfx::Canvas* canvas);
- void PaintActiveTabBackground(gfx::Canvas* canvas);
+ void PaintTabBackground(gfx::CanvasSkia* canvas);
+ void PaintInactiveTabBackgroundWithTitleChange(gfx::CanvasSkia* canvas);
+ void PaintInactiveTabBackground(gfx::CanvasSkia* canvas);
+ void PaintActiveTabBackground(gfx::CanvasSkia* canvas);
// Returns the number of favicon-size elements that can fit in the tab's
// current size.

Powered by Google App Engine
This is Rietveld 408576698