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

Side by Side Diff: sky/engine/core/html/TextMetrics.h

Issue 706123005: Remove nop ScriptWrappable::init calls (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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 { 93 {
94 ScriptWrappable::init(this);
95 } 94 }
96 95
97 // x-direction 96 // x-direction
98 float m_width; 97 float m_width;
99 float m_actualBoundingBoxLeft; 98 float m_actualBoundingBoxLeft;
100 float m_actualBoundingBoxRight; 99 float m_actualBoundingBoxRight;
101 100
102 // y-direction 101 // y-direction
103 float m_fontBoundingBoxAscent; 102 float m_fontBoundingBoxAscent;
104 float m_fontBoundingBoxDescent; 103 float m_fontBoundingBoxDescent;
105 float m_actualBoundingBoxAscent; 104 float m_actualBoundingBoxAscent;
106 float m_actualBoundingBoxDescent; 105 float m_actualBoundingBoxDescent;
107 float m_emHeightAscent; 106 float m_emHeightAscent;
108 float m_emHeightDescent; 107 float m_emHeightDescent;
109 float m_hangingBaseline; 108 float m_hangingBaseline;
110 float m_alphabeticBaseline; 109 float m_alphabeticBaseline;
111 float m_ideographicBaseline; 110 float m_ideographicBaseline;
112 }; 111 };
113 112
114 } // namespace blink 113 } // namespace blink
115 114
116 #endif // TextMetrics_h 115 #endif // TextMetrics_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/ImageData.cpp ('k') | sky/engine/core/html/canvas/ANGLEInstancedArrays.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698