chromium/components/eye_dropper/eye_dropper_view_aura.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/eye_dropper/eye_dropper_view.h"

#include <algorithm>

#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/focus_change_observer.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/window.h"
#include "ui/base/ui_base_features.h"
#include "ui/display/screen.h"
#include "ui/views/native_window_tracker.h"

namespace eye_dropper {
namespace {
gfx::Point ClampToDisplay(const gfx::Point& point) {}
}  // namespace

class EyeDropperView::PreEventDispatchHandler::KeyboardHandler
    : public ui::EventHandler {};

EyeDropperView::PreEventDispatchHandler::KeyboardHandler::KeyboardHandler(
    EyeDropperView* view,
    aura::Window* parent)
    :{}

EyeDropperView::PreEventDispatchHandler::KeyboardHandler::~KeyboardHandler() {}

void EyeDropperView::PreEventDispatchHandler::KeyboardHandler::OnKeyEvent(
    ui::KeyEvent* event) {}

class EyeDropperView::PreEventDispatchHandler::FocusObserver
    : public aura::client::FocusChangeObserver {};

EyeDropperView::PreEventDispatchHandler::FocusObserver::FocusObserver(
    EyeDropperView* view,
    aura::Window* parent)
    :{}

void EyeDropperView::PreEventDispatchHandler::FocusObserver::OnWindowFocused(
    aura::Window* gained_focus,
    aura::Window* lost_focus) {}

EyeDropperView::PreEventDispatchHandler::PreEventDispatchHandler(
    EyeDropperView* view,
    gfx::NativeView parent)
    :{}

EyeDropperView::PreEventDispatchHandler::~PreEventDispatchHandler() {}

void EyeDropperView::PreEventDispatchHandler::OnMouseEvent(
    ui::MouseEvent* event) {}

void EyeDropperView::PreEventDispatchHandler::OnGestureEvent(
    ui::GestureEvent* event) {}

void EyeDropperView::PreEventDispatchHandler::OnTouchEvent(
    ui::TouchEvent* event) {}

void EyeDropperView::CaptureInput() {}

void EyeDropperView::HideCursor() {}

void EyeDropperView::ShowCursor() {}

gfx::Size EyeDropperView::GetSize() const {}

float EyeDropperView::GetDiameter() const {}

}  // namespace eye_dropper