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

Unified Diff: chrome/browser/ui/libgtkui/native_theme_gtk3.h

Issue 2717943002: Fix cc/paint skia type mismatches (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk2.cc ('k') | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/native_theme_gtk3.h
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk3.h b/chrome/browser/ui/libgtkui/native_theme_gtk3.h
index d0ebcb463ac1cbbdd832b9780e87d1ae4f9d0afb..5317336e9350a1049d1d673eb39775c278b2328d 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk3.h
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk3.h
@@ -21,22 +21,22 @@ class NativeThemeGtk3 : public ui::NativeThemeBase {
// Overridden from ui::NativeThemeBase:
SkColor GetSystemColor(ColorId color_id) const override;
- void PaintArrowButton(SkCanvas* canvas,
+ void PaintArrowButton(cc::PaintCanvas* canvas,
const gfx::Rect& rect,
Part direction,
State state) const override;
- void PaintScrollbarTrack(SkCanvas* canvas,
+ void PaintScrollbarTrack(cc::PaintCanvas* canvas,
Part part,
State state,
const ScrollbarTrackExtraParams& extra_params,
const gfx::Rect& rect) const override;
void PaintScrollbarThumb(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
Part part,
State state,
const gfx::Rect& rect,
NativeTheme::ScrollbarOverlayColorTheme theme) const override;
- void PaintScrollbarCorner(SkCanvas* canvas,
+ void PaintScrollbarCorner(cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect) const override;
void PaintMenuPopupBackground(
@@ -44,7 +44,7 @@ class NativeThemeGtk3 : public ui::NativeThemeBase {
const gfx::Size& size,
const MenuBackgroundExtraParams& menu_background) const override;
void PaintMenuSeparator(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const MenuSeparatorExtraParams& menu_separator) const override;
@@ -54,7 +54,7 @@ class NativeThemeGtk3 : public ui::NativeThemeBase {
const gfx::Rect& rect,
const MenuItemExtraParams& menu_item) const override;
void PaintFrameTopArea(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const FrameTopAreaExtraParams& frame_top_area) const override;
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk2.cc ('k') | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698