chromium/third_party/pdfium/fpdfsdk/pwl/cpwl_combo_box.cpp

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

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "fpdfsdk/pwl/cpwl_combo_box.h"

#include <algorithm>
#include <utility>

#include "constants/ascii.h"
#include "fpdfsdk/pwl/cpwl_cbbutton.h"
#include "fpdfsdk/pwl/cpwl_cblistbox.h"
#include "fpdfsdk/pwl/cpwl_edit.h"
#include "fpdfsdk/pwl/ipwl_fillernotify.h"
#include "public/fpdf_fwlevent.h"

namespace {

constexpr float kComboBoxDefaultFontSize =;
constexpr int kDefaultButtonWidth =;

}  // namespace

CPWL_ComboBox::CPWL_ComboBox(
    const CreateParams& cp,
    std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData)
    :{}

CPWL_ComboBox::~CPWL_ComboBox() = default;

void CPWL_ComboBox::OnDestroy() {}

void CPWL_ComboBox::SetFocus() {}

void CPWL_ComboBox::KillFocus() {}

WideString CPWL_ComboBox::GetSelectedText() {}

void CPWL_ComboBox::ReplaceAndKeepSelection(const WideString& text) {}

void CPWL_ComboBox::ReplaceSelection(const WideString& text) {}

bool CPWL_ComboBox::SelectAllText() {}

bool CPWL_ComboBox::CanUndo() {}

bool CPWL_ComboBox::CanRedo() {}

bool CPWL_ComboBox::Undo() {}

bool CPWL_ComboBox::Redo() {}

WideString CPWL_ComboBox::GetText() {}

void CPWL_ComboBox::SetText(const WideString& text) {}

void CPWL_ComboBox::AddString(const WideString& str) {}

int32_t CPWL_ComboBox::GetSelect() const {}

void CPWL_ComboBox::SetSelect(int32_t nItemIndex) {}

void CPWL_ComboBox::SetEditSelection(int32_t nStartChar, int32_t nEndChar) {}

void CPWL_ComboBox::ClearSelection() {}

void CPWL_ComboBox::CreateChildWnd(const CreateParams& cp) {}

void CPWL_ComboBox::CreateEdit(const CreateParams& cp) {}

void CPWL_ComboBox::CreateButton(const CreateParams& cp) {}

void CPWL_ComboBox::CreateListBox(const CreateParams& cp) {}

bool CPWL_ComboBox::RepositionChildWnd() {}

void CPWL_ComboBox::SelectAll() {}

CFX_FloatRect CPWL_ComboBox::GetFocusRect() const {}

bool CPWL_ComboBox::SetPopup(bool bPopup) {}

bool CPWL_ComboBox::OnKeyDown(FWL_VKEYCODE nKeyCode,
                              Mask<FWL_EVENTFLAG> nFlag) {}

bool CPWL_ComboBox::OnChar(uint16_t nChar, Mask<FWL_EVENTFLAG> nFlag) {}

void CPWL_ComboBox::NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos) {}

void CPWL_ComboBox::NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos) {}

bool CPWL_ComboBox::IsPopup() const {}

void CPWL_ComboBox::SetSelectText() {}