#include "components/zoom/page_zoom.h"
#include <stddef.h>
#include <algorithm>
#include <functional>
#include "base/metrics/user_metrics.h"
#include "components/zoom/page_zoom_constants.h"
#include "components/zoom/zoom_controller.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/page_zoom.h"
#include "third_party/blink/public/common/page/page_zoom.h"
UserMetricsAction;
namespace {
enum PageZoomValueType { … };
std::vector<double> PresetZoomValues(PageZoomValueType value_type,
double custom_value) { … }
}
namespace zoom {
std::vector<double> PageZoom::PresetZoomFactors(double custom_factor) { … }
std::vector<double> PageZoom::PresetZoomLevels(double custom_level) { … }
void PageZoom::Zoom(content::WebContents* web_contents,
content::PageZoom zoom) { … }
}