#ifndef UI_QT_NATIVE_THEME_QT_H_
#define UI_QT_NATIVE_THEME_QT_H_
#include "base/memory/raw_ptr.h"
#include "ui/native_theme/native_theme_aura.h"
namespace qt {
class QtInterface;
class NativeThemeQt : public ui::NativeThemeAura {
public:
explicit NativeThemeQt(QtInterface* shim);
NativeThemeQt(const NativeThemeQt&) = delete;
NativeThemeQt& operator=(const NativeThemeQt&) = delete;
~NativeThemeQt() override;
void OnQtThemeChanged();
protected:
void PaintFrameTopArea(
cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const FrameTopAreaExtraParams& extra_params) const override;
private:
raw_ptr<QtInterface> shim_;
};
}
#endif