Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: ui/views/examples/multiline_elision_example.h

Issue 1953133002: [WIP: not for review] Reduce re-layout Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698