OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_VIEWS_EXAMPLES_MULTILINE_ELISION_EXAMPLE_H_ |
| 6 #define UI_VIEWS_EXAMPLES_MULTILINE_ELISION_EXAMPLE_H_ |
| 7 |
| 8 #include "ui/views/examples/multiline_example.h" |
| 9 |
| 10 namespace views { |
| 11 namespace examples { |
| 12 |
| 13 // An example that compares the multiline elision rendering of different |
| 14 // controls. |
| 15 class VIEWS_EXAMPLES_EXPORT MultilineElisionExample : public MultilineExample { |
| 16 public: |
| 17 MultilineElisionExample(); |
| 18 ~MultilineElisionExample() override; |
| 19 |
| 20 protected: |
| 21 class ElidedRenderTextView; |
| 22 |
| 23 // MultilineExample: |
| 24 RenderTextView* CreateTextView() override; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(MultilineElisionExample); |
| 28 }; |
| 29 |
| 30 } // namespace examples |
| 31 } // namespace views |
| 32 |
| 33 #endif // UI_VIEWS_EXAMPLES_MULTILINE_ELISION_EXAMPLE_H_ |
OLD | NEW |