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

Unified Diff: chrome/browser/ui/views/tabs/dragged_tab_view.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/dragged_tab_view.h
diff --git a/chrome/browser/ui/views/tabs/dragged_tab_view.h b/chrome/browser/ui/views/tabs/dragged_tab_view.h
index 89339b9859383b028186346f95b6c4731677c653..515046ac6684834511e1cde90951145cdef1d884 100644
--- a/chrome/browser/ui/views/tabs/dragged_tab_view.h
+++ b/chrome/browser/ui/views/tabs/dragged_tab_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -41,15 +41,15 @@ class DraggedTabView : public views::View {
private:
// Overridden from views::View:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
virtual void Layout() OVERRIDE;
virtual gfx::Size GetPreferredSize() OVERRIDE;
// Paint the view, when it's not attached to any TabStrip.
- void PaintDetachedView(gfx::Canvas* canvas);
+ void PaintDetachedView(gfx::CanvasSkia* canvas);
// Paint the view, when "Show window contents while dragging" is disabled.
- void PaintFocusRect(gfx::Canvas* canvas);
+ void PaintFocusRect(gfx::CanvasSkia* canvas);
// Returns the preferred size of the container.
gfx::Size PreferredContainerSize();

Powered by Google App Engine
This is Rietveld 408576698