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

Unified Diff: ui/native_theme/native_theme_mac.h

Issue 2834173002: ui: remove dead NativeThemeMac code (Closed)
Patch Set: remove dead includes Created 3 years, 8 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 | « no previous file | 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 e7ad9d31b1d601979d3e693f258bd35bdcb5d851..be234934dc2256f807990d69d4638141304f6edb 100644
--- a/ui/native_theme/native_theme_mac.h
+++ b/ui/native_theme/native_theme_mac.h
@@ -46,15 +46,6 @@ class NATIVE_THEME_EXPORT NativeThemeMac : public NativeThemeBase {
const gfx::Rect& rect,
const MenuItemExtraParams& menu_item) const override;
- // Creates a shader appropriate for painting the background of a button.
- static sk_sp<SkShader> GetButtonBackgroundShader(ButtonBackgroundType type,
- int height);
-
- // Creates a shader for the button border. This should be painted over with
- // the background after insetting the rounded rect.
- static sk_sp<SkShader> GetButtonBorderShader(ButtonBackgroundType type,
- int height);
-
// Paints the styled button shape used for default controls on Mac. The basic
// 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
« no previous file with comments | « no previous file | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698