forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
button_sticker_sheet.h
33 lines (24 loc) · 1.04 KB
/
button_sticker_sheet.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2016 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.
#ifndef UI_VIEWS_EXAMPLES_BUTTON_STICKER_SHEET_H_
#define UI_VIEWS_EXAMPLES_BUTTON_STICKER_SHEET_H_
#include "ui/views/examples/example_base.h"
namespace views {
namespace examples {
// An "example" that displays a sticker sheet of all the available material
// design button styles. This example only looks right with `--secondary-ui-md`.
// It is designed to be as visually similar to the UI Harmony spec's sticker
// sheet for buttons as possible.
class VIEWS_EXAMPLES_EXPORT ButtonStickerSheet : public ExampleBase {
public:
ButtonStickerSheet();
ButtonStickerSheet(const ButtonStickerSheet&) = delete;
ButtonStickerSheet& operator=(const ButtonStickerSheet&) = delete;
~ButtonStickerSheet() override;
// ExampleBase:
void CreateExampleView(View* container) override;
};
} // namespace examples
} // namespace views
#endif // UI_VIEWS_EXAMPLES_BUTTON_STICKER_SHEET_H_