summaryrefslogtreecommitdiff
path: root/chromium/ui/views/examples/example_base.cc
blob: f674b5ddea09df0531b2bb0156331fa07b7b0a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/examples/example_base.h"

#include "ui/views/view.h"

namespace views {
namespace examples {

ExampleBase::~ExampleBase() = default;

ExampleBase::ExampleBase(const char* title)
    : example_title_(title), container_(std::make_unique<View>()) {}

}  // namespace examples
}  // namespace views