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

Side by Side Diff: sky/engine/platform/text/WritingMode.h

Issue 688213002: First pass at removing dead vertical writing mode code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/platform/geometry/LayoutBoxExtent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, Google Inc. All rights reserved. 2 * Copyright (c) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WritingMode_h 31 #ifndef WritingMode_h
32 #define WritingMode_h 32 #define WritingMode_h
33 33
34 namespace blink { 34 namespace blink {
35 35
36 // FIXME(sky): Remove
37 enum WritingMode {
38 TopToBottomWritingMode
39 };
40
41 // Lines have horizontal orientation; modes horizontal-tb or horizontal-bt. 36 // Lines have horizontal orientation; modes horizontal-tb or horizontal-bt.
42 inline bool isHorizontalWritingMode() 37 inline bool isHorizontalWritingMode()
43 { 38 {
44 // FIXME(sky): Remove 39 // FIXME(sky): Remove
45 return true; 40 return true;
46 } 41 }
47 42
48 // Bottom of the line occurs earlier in the block; modes vertical-lr or horizont al-bt. 43 // Bottom of the line occurs earlier in the block; modes vertical-lr or horizont al-bt.
49 inline bool isFlippedLinesWritingMode() 44 inline bool isFlippedLinesWritingMode()
50 { 45 {
51 // FIXME(sky): Remove 46 // FIXME(sky): Remove
52 return false; 47 return false;
53 } 48 }
54 49
55 // Block progression increases in the opposite direction to normal; modes vertic al-rl or horizontal-bt. 50 // Block progression increases in the opposite direction to normal; modes vertic al-rl or horizontal-bt.
56 inline bool isFlippedBlocksWritingMode() 51 inline bool isFlippedBlocksWritingMode()
57 { 52 {
58 // FIXME(sky): Remove 53 // FIXME(sky): Remove
59 return false; 54 return false;
60 } 55 }
61 56
62 } // namespace blink 57 } // namespace blink
63 58
64 #endif // WritingMode_h 59 #endif // WritingMode_h
OLDNEW
« no previous file with comments | « sky/engine/platform/geometry/LayoutBoxExtent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698