OLD | NEW |
---|---|
1 /* | 1 /* |
Julien - ping for review
2014/10/01 21:14:47
This should be uploaded without copy detection as
dsinclair
2014/10/04 02:01:34
Acknowledged.
| |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | |
4 * | 7 * |
5 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
9 * | 12 * |
10 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 16 * Library General Public License for more details. |
14 * | 17 * |
15 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
19 * | 22 * |
20 */ | 23 */ |
21 | 24 |
22 #ifndef FilterOperationResolver_h | 25 #ifndef FirstLetterHelper_h |
23 #define FilterOperationResolver_h | 26 #define FirstLetterHelper_h |
24 | 27 |
25 #include "core/css/resolver/StyleResolverState.h" | 28 #include "wtf/text/WTFString.h" |
26 #include "platform/graphics/filters/FilterOperations.h" | |
27 #include "platform/heap/Handle.h" | |
28 | 29 |
29 namespace blink { | 30 namespace blink { |
30 | 31 |
31 class CSSToLengthConversionData; | 32 class Element; |
32 class CSSValue; | 33 class RenderObject; |
33 | 34 |
34 class FilterOperationResolver { | 35 class FirstLetterHelper { |
35 STATIC_ONLY(FilterOperationResolver); | |
36 public: | 36 public: |
37 static bool createFilterOperations(CSSValue* inValue, const CSSToLengthConve rsionData&, FilterOperations& outOperations, StyleResolverState&); | 37 static RenderObject* firstLetterTextRenderer(const Element&); |
38 static unsigned firstLetterLength(const String&); | |
39 private: | |
40 FirstLetterHelper(); | |
Julien - ping for review
2014/10/01 21:14:47
Maybe we should also use MAKE_NON_COPYABLE? Altern
dsinclair
2014/10/04 02:01:34
That was the macro I couldn't remember, thanks. (W
| |
41 | |
38 }; | 42 }; |
39 | 43 |
40 } // namespace blink | 44 } // namespace blink |
41 | 45 |
42 #endif // FilterOperationResolver_h | 46 #endif // FirstLetterHelper_h |
OLD | NEW |