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

Side by Side Diff: third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
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) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
6 * All rights reserved. 6 * All rights reserved.
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 14 matching lines...) Expand all
25 #include "core/dom/FirstLetterPseudoElement.h" 25 #include "core/dom/FirstLetterPseudoElement.h"
26 26
27 #include "core/dom/Element.h" 27 #include "core/dom/Element.h"
28 #include "core/dom/StyleChangeReason.h" 28 #include "core/dom/StyleChangeReason.h"
29 #include "core/layout/GeneratedChildren.h" 29 #include "core/layout/GeneratedChildren.h"
30 #include "core/layout/LayoutObject.h" 30 #include "core/layout/LayoutObject.h"
31 #include "core/layout/LayoutObjectInlines.h" 31 #include "core/layout/LayoutObjectInlines.h"
32 #include "core/layout/LayoutText.h" 32 #include "core/layout/LayoutText.h"
33 #include "core/layout/LayoutTextFragment.h" 33 #include "core/layout/LayoutTextFragment.h"
34 #include "core/layout/api/LayoutTextFragmentItem.h" 34 #include "core/layout/api/LayoutTextFragmentItem.h"
35 #include "wtf/text/WTFString.h" 35 #include "platform/wtf/text/WTFString.h"
36 #include "wtf/text/icu/UnicodeIcu.h" 36 #include "platform/wtf/text/icu/UnicodeIcu.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 using namespace WTF; 40 using namespace WTF;
41 using namespace Unicode; 41 using namespace Unicode;
42 42
43 // CSS 2.1 http://www.w3.org/TR/CSS21/selector.html#first-letter "Punctuation 43 // CSS 2.1 http://www.w3.org/TR/CSS21/selector.html#first-letter "Punctuation
44 // (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps), "close" 44 // (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps), "close"
45 // (Pe), "initial" (Pi). "final" (Pf) and "other" (Po) punctuation classes), 45 // (Pe), "initial" (Pi). "final" (Pf) and "other" (Po) punctuation classes),
46 // that precedes or follows the first letter should be included" 46 // that precedes or follows the first letter should be included"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 // We only manage the style for the generated content items. 364 // We only manage the style for the generated content items.
365 if (!child->IsText() && !child->IsQuote() && !child->IsImage()) 365 if (!child->IsText() && !child->IsQuote() && !child->IsImage())
366 continue; 366 continue;
367 367
368 child->SetPseudoStyle(layout_object->MutableStyle()); 368 child->SetPseudoStyle(layout_object->MutableStyle());
369 } 369 }
370 } 370 }
371 371
372 } // namespace blink 372 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698