#include "ui/views/examples/multiline_example.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/events/event.h"
#include "ui/gfx/range/range.h"
#include "ui/gfx/render_text.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/checkbox.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/grit/views_examples_resources.h"
#include "ui/views/layout/table_layout.h"
#include "ui/views/view.h"
GetStringUTF16;
GetStringUTF8;
namespace views::examples {
namespace {
gfx::Range ClampRange(gfx::Range range, size_t max) { … }
class PreferredSizeLabel : public Label { … };
BEGIN_METADATA(…)
}
class MultilineExample::RenderTextView : public View { … };
BEGIN_METADATA(…)
END_METADATA
MultilineExample::MultilineExample()
: … { … }
MultilineExample::~MultilineExample() { … }
void MultilineExample::CreateExampleView(View* container) { … }
void MultilineExample::ContentsChanged(Textfield* sender,
const std::u16string& new_contents) { … }
}