summaryrefslogtreecommitdiffstats
path: root/chromium/ui/native_theme/common_theme.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/native_theme/common_theme.h')
-rw-r--r--chromium/ui/native_theme/common_theme.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/ui/native_theme/common_theme.h b/chromium/ui/native_theme/common_theme.h
index c91f4899c82..a8db60f0fb4 100644
--- a/chromium/ui/native_theme/common_theme.h
+++ b/chromium/ui/native_theme/common_theme.h
@@ -5,10 +5,15 @@
#ifndef UI_NATIVE_THEME_COMMON_THEME_H_
#define UI_NATIVE_THEME_COMMON_THEME_H_
+#include "base/memory/scoped_ptr.h"
#include "ui/native_theme/native_theme.h"
class SkCanvas;
+namespace gfx {
+class Canvas;
+}
+
namespace ui {
// Drawing code that is common for all platforms.
@@ -23,6 +28,10 @@ gfx::Size NATIVE_THEME_EXPORT CommonThemeGetPartSize(
NativeTheme::State state,
const NativeTheme::ExtraParams& extra);
+void NATIVE_THEME_EXPORT CommonThemePaintComboboxArrow(
+ SkCanvas* canvas,
+ const gfx::Rect& rect);
+
void NATIVE_THEME_EXPORT CommonThemePaintMenuSeparator(
SkCanvas* canvas,
const gfx::Rect& rect,
@@ -39,6 +48,10 @@ void NATIVE_THEME_EXPORT CommonThemePaintMenuItemBackground(
NativeTheme::State state,
const gfx::Rect& rect);
+// Creates a gfx::Canvas wrapping an SkCanvas.
+scoped_ptr<gfx::Canvas> NATIVE_THEME_EXPORT CommonThemeCreateCanvas(
+ SkCanvas* sk_canvas);
+
} // namespace ui
#endif // UI_NATIVE_THEME_COMMON_THEME_H_