| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 RefPtrWillBeMember<MutableStylePropertySet> m_mutableStyle; | 163 RefPtrWillBeMember<MutableStylePropertySet> m_mutableStyle; |
| 164 bool m_isMonospaceFont; | 164 bool m_isMonospaceFont; |
| 165 float m_fontSizeDelta; | 165 float m_fontSizeDelta; |
| 166 | 166 |
| 167 friend class HTMLElementEquivalent; | 167 friend class HTMLElementEquivalent; |
| 168 friend class HTMLAttributeEquivalent; | 168 friend class HTMLAttributeEquivalent; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 class StyleChange { | 171 class StyleChange { |
| 172 DISALLOW_ALLOCATION(); |
| 172 public: | 173 public: |
| 173 StyleChange() | 174 StyleChange() |
| 174 : m_applyBold(false) | 175 : m_applyBold(false) |
| 175 , m_applyItalic(false) | 176 , m_applyItalic(false) |
| 176 , m_applyUnderline(false) | 177 , m_applyUnderline(false) |
| 177 , m_applyLineThrough(false) | 178 , m_applyLineThrough(false) |
| 178 , m_applySubscript(false) | 179 , m_applySubscript(false) |
| 179 , m_applySuperscript(false) | 180 , m_applySuperscript(false) |
| 180 { } | 181 { } |
| 181 | 182 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 String m_applyFontSize; | 229 String m_applyFontSize; |
| 229 }; | 230 }; |
| 230 | 231 |
| 231 // FIXME: Remove these functions or make them non-global to discourage using CSS
StyleDeclaration directly. | 232 // FIXME: Remove these functions or make them non-global to discourage using CSS
StyleDeclaration directly. |
| 232 CSSValueID getIdentifierValue(CSSStyleDeclaration*, CSSPropertyID); | 233 CSSValueID getIdentifierValue(CSSStyleDeclaration*, CSSPropertyID); |
| 233 CSSValueID getIdentifierValue(StylePropertySet*, CSSPropertyID); | 234 CSSValueID getIdentifierValue(StylePropertySet*, CSSPropertyID); |
| 234 | 235 |
| 235 } // namespace blink | 236 } // namespace blink |
| 236 | 237 |
| 237 #endif // EditingStyle_h | 238 #endif // EditingStyle_h |
| OLD | NEW |