#include "ui/views/examples/textfield_example.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/color/color_provider.h"
#include "ui/events/event.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/range/range.h"
#include "ui/gfx/render_text.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/examples/examples_color_id.h"
#include "ui/views/examples/examples_window.h"
#include "ui/views/examples/grit/views_examples_resources.h"
#include "ui/views/layout/table_layout.h"
#include "ui/views/view.h"
GetStringUTF16;
GetStringUTF8;
namespace views::examples {
TextfieldExample::TextfieldExample()
: … { … }
TextfieldExample::~TextfieldExample() { … }
void TextfieldExample::CreateExampleView(View* container) { … }
bool TextfieldExample::HandleKeyEvent(Textfield* sender,
const ui::KeyEvent& key_event) { … }
bool TextfieldExample::HandleMouseEvent(Textfield* sender,
const ui::MouseEvent& mouse_event) { … }
void TextfieldExample::ClearAllButtonPressed() { … }
void TextfieldExample::AppendButtonPressed() { … }
void TextfieldExample::SetButtonPressed() { … }
void TextfieldExample::SetStyleButtonPressed() { … }
}