#ifndef COMPONENTS_BROWSER_UI_ACCESSIBILITY_ANDROID_PAGE_ZOOM_METRICS_H_
#define COMPONENTS_BROWSER_UI_ACCESSIBILITY_ANDROID_PAGE_ZOOM_METRICS_H_
#include "services/metrics/public/cpp/ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
namespace content {
class WebContents;
}
namespace browser_ui {
* Native component to log metrics for Page Zoom.
*/
class PageZoomMetrics {
public:
PageZoomMetrics();
~PageZoomMetrics();
void LogZoomLevelUKM(content::WebContents* web_contents,
double new_zoom_level);
static void LogZoomLevelUKMHelper(ukm::SourceId ukm_source_id,
double new_zoom_level,
ukm::UkmRecorder* ukm_recorder);
};
}
#endif