chromium/content/web_test/renderer/text_input_controller.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 "content/web_test/renderer/text_input_controller.h"

#include "content/web_test/renderer/web_frame_test_proxy.h"
#include "gin/arguments.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
#include "gin/wrappable.h"
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/public/platform/scheduler/web_agent_group_scheduler.h"
#include "third_party/blink/public/platform/web_input_event_result.h"
#include "third_party/blink/public/web/web_frame_widget.h"
#include "third_party/blink/public/web/web_input_method_controller.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_range.h"
#include "third_party/blink/public/web/web_view.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/ime/ime_text_span.h"
#include "ui/events/base_event_utils.h"
#include "v8/include/v8.h"

namespace content {

class TextInputControllerBindings
    : public gin::Wrappable<TextInputControllerBindings> {};

gin::WrapperInfo TextInputControllerBindings::kWrapperInfo =;

// static
void TextInputControllerBindings::Install(
    base::WeakPtr<TextInputController> controller,
    blink::WebLocalFrame* frame) {}

TextInputControllerBindings::TextInputControllerBindings(
    base::WeakPtr<TextInputController> controller)
    :{}

TextInputControllerBindings::~TextInputControllerBindings() {}

gin::ObjectTemplateBuilder
TextInputControllerBindings::GetObjectTemplateBuilder(v8::Isolate* isolate) {}

void TextInputControllerBindings::InsertText(const std::string& text) {}

void TextInputControllerBindings::UnmarkText() {}

void TextInputControllerBindings::UnmarkAndUnselectText() {}

void TextInputControllerBindings::DoCommand(const std::string& text) {}

void TextInputControllerBindings::ExtendSelectionAndDelete(int before,
                                                           int after) {}

void TextInputControllerBindings::DeleteSurroundingText(int before, int after) {}

void TextInputControllerBindings::SetMarkedText(const std::string& text,
                                                uint32_t start,
                                                uint32_t length) {}

void TextInputControllerBindings::SetMarkedTextFromExistingText(uint32_t start,
                                                                uint32_t end) {}

bool TextInputControllerBindings::HasMarkedText() {}

std::vector<int> TextInputControllerBindings::MarkedRange() {}

std::vector<int> TextInputControllerBindings::SelectedRange() {}

std::vector<int> TextInputControllerBindings::FirstRectForCharacterRange(
    uint32_t location,
    uint32_t length) {}

void TextInputControllerBindings::SetComposition(const std::string& text) {}
void TextInputControllerBindings::SetCompositionWithReplacementRange(
    const std::string& text,
    int replacement_start,
    int replacement_end) {}
void TextInputControllerBindings::ForceTextInputStateUpdate() {}
// TextInputController ---------------------------------------------------------

TextInputController::TextInputController(
    WebFrameTestProxy* web_frame_test_proxy)
    :{}

TextInputController::~TextInputController() {}

void TextInputController::Install(blink::WebLocalFrame* frame) {}

void TextInputController::InsertText(const std::string& text) {}

void TextInputController::UnmarkText() {}

void TextInputController::UnmarkAndUnselectText() {}

void TextInputController::DoCommand(const std::string& text) {}

void TextInputController::ExtendSelectionAndDelete(int before, int after) {}

void TextInputController::DeleteSurroundingText(int before, int after) {}

void TextInputController::SetMarkedText(const std::string& text,
                                        uint32_t start,
                                        uint32_t length) {}

void TextInputController::SetMarkedTextFromExistingText(uint32_t start,
                                                        uint32_t end) {}

bool TextInputController::HasMarkedText() {}

std::vector<int> TextInputController::MarkedRange() {}

std::vector<int> TextInputController::SelectedRange() {}

std::vector<int> TextInputController::FirstRectForCharacterRange(
    uint32_t location,
    uint32_t length) {}

void TextInputController::SetComposition(const std::string& text,
                                         int replacement_range_start,
                                         int replacement_range_end) {}

void TextInputController::ForceTextInputStateUpdate() {}

blink::WebView* TextInputController::view() {}

blink::WebInputMethodController*
TextInputController::GetInputMethodController() {}

}  // namespace content