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

Unified Diff: ui/native_theme/native_theme_mac.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_mac.h
diff --git a/ui/native_theme/native_theme_mac.h b/ui/native_theme/native_theme_mac.h
index 8f870ea00b915981694a0d337b4b4a22531edfae..e7ad9d31b1d601979d3e693f258bd35bdcb5d851 100644
--- a/ui/native_theme/native_theme_mac.h
+++ b/ui/native_theme/native_theme_mac.h
@@ -37,11 +37,11 @@ class NATIVE_THEME_EXPORT NativeThemeMac : public NativeThemeBase {
// Overridden from NativeThemeBase:
void PaintMenuPopupBackground(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
const gfx::Size& size,
const MenuBackgroundExtraParams& menu_background) const override;
void PaintMenuItemBackground(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const MenuItemExtraParams& menu_item) const override;
@@ -59,7 +59,7 @@ class NATIVE_THEME_EXPORT NativeThemeMac : public NativeThemeBase {
// style is used for dialog buttons, comboboxes, and tabbed pane tabs.
// Depending on the control part being drawn, the left or the right side can
// be given rounded corners.
- static void PaintStyledGradientButton(SkCanvas* canvas,
+ static void PaintStyledGradientButton(cc::PaintCanvas* canvas,
const gfx::Rect& bounds,
ButtonBackgroundType type,
bool round_left,
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698