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

Unified Diff: ui/views/controls/combobox/native_combobox_views.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: ui/views/controls/combobox/native_combobox_views.h
diff --git a/ui/views/controls/combobox/native_combobox_views.h b/ui/views/controls/combobox/native_combobox_views.h
index e8dd165ab46dc87e1ddfb8e47179c2c870883424..c0da040866f9d2fa5f816e508c58f3e88e62ed96 100644
--- a/ui/views/controls/combobox/native_combobox_views.h
+++ b/ui/views/controls/combobox/native_combobox_views.h
@@ -11,7 +11,7 @@
#include "ui/views/view.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Font;
}
@@ -35,7 +35,7 @@ class NativeComboboxViews : public views::View,
virtual bool OnMouseDragged(const views::MouseEvent& mouse_event) OVERRIDE;
virtual bool OnKeyPressed(const views::KeyEvent& key_event) OVERRIDE;
virtual bool OnKeyReleased(const views::KeyEvent& key_event) OVERRIDE;
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
virtual void OnFocus() OVERRIDE;
virtual void OnBlur() OVERRIDE;
@@ -72,7 +72,7 @@ class NativeComboboxViews : public views::View,
void AdjustBoundsForRTLUI(gfx::Rect* rect) const;
// Draw the selected value of the drop down list
- void PaintText(gfx::Canvas* canvas);
+ void PaintText(gfx::CanvasSkia* canvas);
// Show the drop down list
void ShowDropDownMenu();

Powered by Google App Engine
This is Rietveld 408576698