| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef UI_GFX_RENDER_TEXT_H_ | 5 #ifndef UI_GFX_RENDER_TEXT_H_ | 
| 6 #define UI_GFX_RENDER_TEXT_H_ | 6 #define UI_GFX_RENDER_TEXT_H_ | 
| 7 | 7 | 
| 8 #include <algorithm> | 8 #include <algorithm> | 
| 9 #include <cstring> | 9 #include <cstring> | 
| 10 #include <string> | 10 #include <string> | 
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 625   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, RevealObscuredText); | 625   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, RevealObscuredText); | 
| 626   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, ElidedText); | 626   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, ElidedText); | 
| 627   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, ElidedObscuredText); | 627   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, ElidedObscuredText); | 
| 628   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, TruncatedText); | 628   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, TruncatedText); | 
| 629   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, TruncatedObscuredText); | 629   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, TruncatedObscuredText); | 
| 630   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GraphemePositions); | 630   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GraphemePositions); | 
| 631   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, MinLineHeight); | 631   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, MinLineHeight); | 
| 632   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, EdgeSelectionModels); | 632   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, EdgeSelectionModels); | 
| 633   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GetTextOffset); | 633   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GetTextOffset); | 
| 634   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GetTextOffsetHorizontalDefaultInRTL); | 634   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GetTextOffsetHorizontalDefaultInRTL); | 
|  | 635   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_LineBreakerBehavior); | 
| 635   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_MinWidth); | 636   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_MinWidth); | 
| 636   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_NormalWidth); | 637   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_NormalWidth); | 
| 637   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_SufficientWidth); | 638   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_SufficientWidth); | 
| 638   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_Newline); | 639   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_Newline); | 
| 639   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_WordWrapBehavior); | 640   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Multiline_WordWrapBehavior); | 
| 640   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, NewlineWithoutMultilineFlag); | 641   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, NewlineWithoutMultilineFlag); | 
| 641   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GlyphBounds); | 642   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, GlyphBounds); | 
| 642   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_GlyphBounds); | 643   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_GlyphBounds); | 
| 643   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, | 644   FRIEND_TEST_ALL_PREFIXES(RenderTextTest, | 
| 644                            MoveCursorLeftRight_MeiryoUILigatures); | 645                            MoveCursorLeftRight_MeiryoUILigatures); | 
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 807   // Lines computed by EnsureLayout. These should be invalidated upon | 808   // Lines computed by EnsureLayout. These should be invalidated upon | 
| 808   // OnLayoutTextAttributeChanged and OnDisplayTextAttributeChanged calls. | 809   // OnLayoutTextAttributeChanged and OnDisplayTextAttributeChanged calls. | 
| 809   std::vector<internal::Line> lines_; | 810   std::vector<internal::Line> lines_; | 
| 810 | 811 | 
| 811   DISALLOW_COPY_AND_ASSIGN(RenderText); | 812   DISALLOW_COPY_AND_ASSIGN(RenderText); | 
| 812 }; | 813 }; | 
| 813 | 814 | 
| 814 }  // namespace gfx | 815 }  // namespace gfx | 
| 815 | 816 | 
| 816 #endif  // UI_GFX_RENDER_TEXT_H_ | 817 #endif  // UI_GFX_RENDER_TEXT_H_ | 
| OLD | NEW | 
|---|