#ifndef CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_
#define CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_
#include "cc/output/overlay_candidate_validator.h"
#include "content/common/content_export.h"
#include "ui/gfx/native_widget_types.h"
namespace gfx {
class OverlayCandidatesOzone;
}
namespace content {
class CONTENT_EXPORT OverlayCandidateValidatorOzone
: public cc::OverlayCandidateValidator {
public:
OverlayCandidateValidatorOzone(
gfx::AcceleratedWidget widget,
gfx::OverlayCandidatesOzone* overlay_candidates);
virtual ~OverlayCandidateValidatorOzone();
virtual void CheckOverlaySupport(cc::OverlayCandidateList* surfaces) OVERRIDE;
private:
gfx::AcceleratedWidget widget_;
gfx::OverlayCandidatesOzone* overlay_candidates_;
DISALLOW_COPY_AND_ASSIGN(OverlayCandidateValidatorOzone);
};
}
#endif