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

Side by Side Diff: sky/engine/core/rendering/InlineTextBox.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/rendering/InlineTextBox.h ('k') | sky/engine/core/rendering/LayerFragment.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Dirk Mueller (mueller@kde.org) 3 * (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 * 20 *
21 */ 21 */
22 22
23 #include "config.h" 23 #include "sky/engine/config.h"
24 #include "core/rendering/InlineTextBox.h" 24 #include "sky/engine/core/rendering/InlineTextBox.h"
25 25
26 #include "core/dom/Document.h"
27 #include "core/dom/DocumentMarkerController.h"
28 #include "core/dom/RenderedDocumentMarker.h"
29 #include "core/dom/Text.h"
30 #include "core/editing/CompositionUnderline.h"
31 #include "core/editing/CompositionUnderlineRangeFilter.h"
32 #include "core/editing/Editor.h"
33 #include "core/editing/InputMethodController.h"
34 #include "core/frame/LocalFrame.h"
35 #include "core/page/Page.h"
36 #include "core/frame/Settings.h"
37 #include "core/rendering/EllipsisBox.h"
38 #include "core/rendering/HitTestResult.h"
39 #include "core/rendering/PaintInfo.h"
40 #include "core/rendering/RenderBlock.h"
41 #include "core/rendering/RenderTheme.h"
42 #include "core/rendering/style/ShadowList.h"
43 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 26 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
44 #include "platform/fonts/FontCache.h" 27 #include "sky/engine/core/dom/Document.h"
45 #include "platform/fonts/GlyphBuffer.h" 28 #include "sky/engine/core/dom/DocumentMarkerController.h"
46 #include "platform/fonts/WidthIterator.h" 29 #include "sky/engine/core/dom/RenderedDocumentMarker.h"
47 #include "platform/graphics/GraphicsContextStateSaver.h" 30 #include "sky/engine/core/dom/Text.h"
48 #include "wtf/Vector.h" 31 #include "sky/engine/core/editing/CompositionUnderline.h"
49 #include "wtf/text/CString.h" 32 #include "sky/engine/core/editing/CompositionUnderlineRangeFilter.h"
50 #include "wtf/text/StringBuilder.h" 33 #include "sky/engine/core/editing/Editor.h"
34 #include "sky/engine/core/editing/InputMethodController.h"
35 #include "sky/engine/core/frame/LocalFrame.h"
36 #include "sky/engine/core/frame/Settings.h"
37 #include "sky/engine/core/page/Page.h"
38 #include "sky/engine/core/rendering/EllipsisBox.h"
39 #include "sky/engine/core/rendering/HitTestResult.h"
40 #include "sky/engine/core/rendering/PaintInfo.h"
41 #include "sky/engine/core/rendering/RenderBlock.h"
42 #include "sky/engine/core/rendering/RenderTheme.h"
43 #include "sky/engine/core/rendering/style/ShadowList.h"
44 #include "sky/engine/platform/fonts/FontCache.h"
45 #include "sky/engine/platform/fonts/GlyphBuffer.h"
46 #include "sky/engine/platform/fonts/WidthIterator.h"
47 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h"
48 #include "sky/engine/wtf/Vector.h"
49 #include "sky/engine/wtf/text/CString.h"
50 #include "sky/engine/wtf/text/StringBuilder.h"
51 51
52 #include <algorithm> 52 #include <algorithm>
53 53
54 namespace blink { 54 namespace blink {
55 55
56 struct SameSizeAsInlineTextBox : public InlineBox { 56 struct SameSizeAsInlineTextBox : public InlineBox {
57 unsigned variables[1]; 57 unsigned variables[1];
58 unsigned short variables2[2]; 58 unsigned short variables2[2];
59 void* pointers[2]; 59 void* pointers[2];
60 }; 60 };
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 printedCharacters = fprintf(stderr, "\t%s %p", obj.renderName(), &obj); 1384 printedCharacters = fprintf(stderr, "\t%s %p", obj.renderName(), &obj);
1385 const int rendererCharacterOffset = 24; 1385 const int rendererCharacterOffset = 24;
1386 for (; printedCharacters < rendererCharacterOffset; printedCharacters++) 1386 for (; printedCharacters < rendererCharacterOffset; printedCharacters++)
1387 fputc(' ', stderr); 1387 fputc(' ', stderr);
1388 fprintf(stderr, "(%d,%d) \"%s\"\n", start(), start() + len(), value.utf8().d ata()); 1388 fprintf(stderr, "(%d,%d) \"%s\"\n", start(), start() + len(), value.utf8().d ata());
1389 } 1389 }
1390 1390
1391 #endif 1391 #endif
1392 1392
1393 } // namespace blink 1393 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/InlineTextBox.h ('k') | sky/engine/core/rendering/LayerFragment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698