#include "content/browser/eye_dropper_chooser_impl.h"
#include "base/functional/callback.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/public/browser/eye_dropper.h"
#include "content/public/browser/eye_dropper_listener.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "third_party/blink/public/mojom/choosers/color_chooser.mojom.h"
namespace content {
void EyeDropperChooserImpl::Create(
RenderFrameHost* render_frame_host,
mojo::PendingReceiver<blink::mojom::EyeDropperChooser> receiver) { … }
EyeDropperChooserImpl::EyeDropperChooserImpl(
RenderFrameHost& render_frame_host,
mojo::PendingReceiver<blink::mojom::EyeDropperChooser> receiver)
: … { … }
EyeDropperChooserImpl::~EyeDropperChooserImpl() { … }
void EyeDropperChooserImpl::Choose(ChooseCallback callback) { … }
void EyeDropperChooserImpl::ColorSelected(SkColor color) { … }
void EyeDropperChooserImpl::ColorSelectionCanceled() { … }
}