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

Unified Diff: chrome/browser/ui/views/avatar_menu_button.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/avatar_menu_button.h
diff --git a/chrome/browser/ui/views/avatar_menu_button.h b/chrome/browser/ui/views/avatar_menu_button.h
index b10a52b1ca3068d3efdcc0d4972218d89b20c810..c4aefabd8d29442f72ec3dfd6b2b114ebb205231 100644
--- a/chrome/browser/ui/views/avatar_menu_button.h
+++ b/chrome/browser/ui/views/avatar_menu_button.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.
@@ -14,7 +14,7 @@
#include "ui/views/controls/menu/view_menu_delegate.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Image;
}
class Browser;
@@ -39,7 +39,7 @@ class AvatarMenuButton : public views::MenuButton,
virtual ~AvatarMenuButton();
// views::MenuButton
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
virtual bool HitTest(const gfx::Point& point) const OVERRIDE;
virtual void SetAvatarIcon(const gfx::Image& icon,

Powered by Google App Engine
This is Rietveld 408576698