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

Side by Side Diff: Source/core/rendering/InlineTextBox.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/InlineFlowBox.cpp ('k') | Source/core/rendering/PaintInfo.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 *
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "core/dom/DocumentMarkerController.h" 27 #include "core/dom/DocumentMarkerController.h"
28 #include "core/dom/RenderedDocumentMarker.h" 28 #include "core/dom/RenderedDocumentMarker.h"
29 #include "core/dom/Text.h" 29 #include "core/dom/Text.h"
30 #include "core/editing/Editor.h" 30 #include "core/editing/Editor.h"
31 #include "core/editing/InputMethodController.h" 31 #include "core/editing/InputMethodController.h"
32 #include "core/frame/Frame.h" 32 #include "core/frame/Frame.h"
33 #include "core/page/Page.h" 33 #include "core/page/Page.h"
34 #include "core/page/Settings.h" 34 #include "core/page/Settings.h"
35 #include "core/platform/graphics/FontCache.h"
36 #include "core/platform/graphics/GraphicsContextStateSaver.h"
37 #include "core/platform/graphics/WidthIterator.h"
38 #include "core/rendering/AbstractInlineTextBox.h" 35 #include "core/rendering/AbstractInlineTextBox.h"
39 #include "core/rendering/EllipsisBox.h" 36 #include "core/rendering/EllipsisBox.h"
40 #include "core/rendering/HitTestResult.h" 37 #include "core/rendering/HitTestResult.h"
41 #include "core/rendering/PaintInfo.h" 38 #include "core/rendering/PaintInfo.h"
42 #include "core/rendering/RenderBR.h" 39 #include "core/rendering/RenderBR.h"
43 #include "core/rendering/RenderBlock.h" 40 #include "core/rendering/RenderBlock.h"
44 #include "core/rendering/RenderCombineText.h" 41 #include "core/rendering/RenderCombineText.h"
45 #include "core/rendering/RenderRubyRun.h" 42 #include "core/rendering/RenderRubyRun.h"
46 #include "core/rendering/RenderRubyText.h" 43 #include "core/rendering/RenderRubyText.h"
47 #include "core/rendering/RenderTheme.h" 44 #include "core/rendering/RenderTheme.h"
48 #include "core/rendering/style/ShadowList.h" 45 #include "core/rendering/style/ShadowList.h"
49 #include "core/rendering/svg/SVGTextRunRenderingContext.h" 46 #include "core/rendering/svg/SVGTextRunRenderingContext.h"
47 #include "platform/fonts/FontCache.h"
48 #include "platform/fonts/WidthIterator.h"
50 #include "platform/graphics/DrawLooper.h" 49 #include "platform/graphics/DrawLooper.h"
50 #include "platform/graphics/GraphicsContextStateSaver.h"
51 #include "wtf/Vector.h" 51 #include "wtf/Vector.h"
52 #include "wtf/text/CString.h" 52 #include "wtf/text/CString.h"
53 #include "wtf/text/StringBuilder.h" 53 #include "wtf/text/StringBuilder.h"
54 54
55 using namespace std; 55 using namespace std;
56 56
57 namespace WebCore { 57 namespace WebCore {
58 58
59 struct SameSizeAsInlineTextBox : public InlineBox { 59 struct SameSizeAsInlineTextBox : public InlineBox {
60 unsigned variables[1]; 60 unsigned variables[1];
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 printedCharacters = fprintf(stderr, "\t%s %p", obj->renderName(), obj); 1565 printedCharacters = fprintf(stderr, "\t%s %p", obj->renderName(), obj);
1566 const int rendererCharacterOffset = 24; 1566 const int rendererCharacterOffset = 24;
1567 for (; printedCharacters < rendererCharacterOffset; printedCharacters++) 1567 for (; printedCharacters < rendererCharacterOffset; printedCharacters++)
1568 fputc(' ', stderr); 1568 fputc(' ', stderr);
1569 fprintf(stderr, "(%d,%d) \"%s\"\n", start(), start() + len(), value.utf8().d ata()); 1569 fprintf(stderr, "(%d,%d) \"%s\"\n", start(), start() + len(), value.utf8().d ata());
1570 } 1570 }
1571 1571
1572 #endif 1572 #endif
1573 1573
1574 } // namespace WebCore 1574 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/InlineFlowBox.cpp ('k') | Source/core/rendering/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698