Chromium Code Reviews| Index: Source/core/dom/FirstLetterHelper.h |
| diff --git a/Source/core/css/resolver/FilterOperationResolver.h b/Source/core/dom/FirstLetterHelper.h |
| similarity index 65% |
| copy from Source/core/css/resolver/FilterOperationResolver.h |
| copy to Source/core/dom/FirstLetterHelper.h |
| index 07399e34dd550c58372f84eb165e8b9bb25805f6..2d0872052da26945059bed367e73774a749601fd 100644 |
| --- a/Source/core/css/resolver/FilterOperationResolver.h |
| +++ b/Source/core/dom/FirstLetterHelper.h |
| @@ -1,6 +1,9 @@ |
| /* |
|
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.
|
| * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| + * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| + * (C) 2007 David Smith (catfish.man@gmail.com) |
| * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| + * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Library General Public |
| @@ -19,24 +22,25 @@ |
| * |
| */ |
| -#ifndef FilterOperationResolver_h |
| -#define FilterOperationResolver_h |
| +#ifndef FirstLetterHelper_h |
| +#define FirstLetterHelper_h |
| -#include "core/css/resolver/StyleResolverState.h" |
| -#include "platform/graphics/filters/FilterOperations.h" |
| -#include "platform/heap/Handle.h" |
| +#include "wtf/text/WTFString.h" |
| namespace blink { |
| -class CSSToLengthConversionData; |
| -class CSSValue; |
| +class Element; |
| +class RenderObject; |
| -class FilterOperationResolver { |
| - STATIC_ONLY(FilterOperationResolver); |
| +class FirstLetterHelper { |
| public: |
| - static bool createFilterOperations(CSSValue* inValue, const CSSToLengthConversionData&, FilterOperations& outOperations, StyleResolverState&); |
| + static RenderObject* firstLetterTextRenderer(const Element&); |
| + static unsigned firstLetterLength(const String&); |
| +private: |
| + 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
|
| + |
| }; |
| } // namespace blink |
| -#endif // FilterOperationResolver_h |
| +#endif // FirstLetterHelper_h |