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

Side by Side Diff: Source/core/html/TextMetrics.h

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/RadioNodeList.cpp ('k') | Source/core/html/TimeRanges.h » ('j') | 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 , m_actualBoundingBoxLeft(0) 82 , m_actualBoundingBoxLeft(0)
83 , m_actualBoundingBoxRight(0) 83 , m_actualBoundingBoxRight(0)
84 , m_fontBoundingBoxAscent(0) 84 , m_fontBoundingBoxAscent(0)
85 , m_fontBoundingBoxDescent(0) 85 , m_fontBoundingBoxDescent(0)
86 , m_actualBoundingBoxAscent(0) 86 , m_actualBoundingBoxAscent(0)
87 , m_actualBoundingBoxDescent(0) 87 , m_actualBoundingBoxDescent(0)
88 , m_emHeightAscent(0) 88 , m_emHeightAscent(0)
89 , m_emHeightDescent(0) 89 , m_emHeightDescent(0)
90 , m_hangingBaseline(0) 90 , m_hangingBaseline(0)
91 , m_alphabeticBaseline(0) 91 , m_alphabeticBaseline(0)
92 , m_ideographicBaseline(0) 92 , m_ideographicBaseline(0) { }
93 {
94 ScriptWrappable::init(this);
95 }
96 93
97 // x-direction 94 // x-direction
98 float m_width; 95 float m_width;
99 float m_actualBoundingBoxLeft; 96 float m_actualBoundingBoxLeft;
100 float m_actualBoundingBoxRight; 97 float m_actualBoundingBoxRight;
101 98
102 // y-direction 99 // y-direction
103 float m_fontBoundingBoxAscent; 100 float m_fontBoundingBoxAscent;
104 float m_fontBoundingBoxDescent; 101 float m_fontBoundingBoxDescent;
105 float m_actualBoundingBoxAscent; 102 float m_actualBoundingBoxAscent;
106 float m_actualBoundingBoxDescent; 103 float m_actualBoundingBoxDescent;
107 float m_emHeightAscent; 104 float m_emHeightAscent;
108 float m_emHeightDescent; 105 float m_emHeightDescent;
109 float m_hangingBaseline; 106 float m_hangingBaseline;
110 float m_alphabeticBaseline; 107 float m_alphabeticBaseline;
111 float m_ideographicBaseline; 108 float m_ideographicBaseline;
112 }; 109 };
113 110
114 } // namespace blink 111 } // namespace blink
115 112
116 #endif // TextMetrics_h 113 #endif // TextMetrics_h
OLDNEW
« no previous file with comments | « Source/core/html/RadioNodeList.cpp ('k') | Source/core/html/TimeRanges.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698