#ifndef CONTENT_RENDERER_DISAMBIGUATION_POPUP_HELPER_H_
#define CONTENT_RENDERER_DISAMBIGUATION_POPUP_HELPER_H_
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebVector.h"
namespace gfx {
class Rect;
class Size;
}
namespace blink {
struct WebRect;
}
namespace content {
class DisambiguationPopupHelper {
public:
CONTENT_EXPORT static float ComputeZoomAreaAndScaleFactor(
const gfx::Rect& tap_rect,
const blink::WebVector<blink::WebRect>& target_rects,
const gfx::Size& screen_size,
const gfx::Size& visible_content_size,
float total_scale,
gfx::Rect* zoom_rect);
};
}
#endif