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

Side by Side Diff: Source/core/rendering/TextRunConstructor.h

Issue 620753006: Rendering API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/RootInlineBox.h ('k') | no next file » | 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 * 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-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Explicit direction. 65 // Explicit direction.
66 TextRun constructTextRun(RenderObject* context, const Font&, const String&, Rend erStyle*, TextDirection, 66 TextRun constructTextRun(RenderObject* context, const Font&, const String&, Rend erStyle*, TextDirection,
67 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion, TextRunFlags = DefaultTextRunFlags); 67 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion, TextRunFlags = DefaultTextRunFlags);
68 68
69 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle*, TextDirection, 69 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle*, TextDirection,
70 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion); 70 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion);
71 71
72 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection, 72 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection,
73 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion); 73 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion);
74 74
75 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, RenderStyle*,
76 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion);
77
78 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* charac ters, int length, RenderStyle*, TextDirection, 75 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* charac ters, int length, RenderStyle*, TextDirection,
79 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion); 76 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion);
80 77
81 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* charac ters, int length, RenderStyle*, TextDirection, 78 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* charac ters, int length, RenderStyle*, TextDirection,
82 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion); 79 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb idLeadingExpansion);
83 80
84 } // namespace blink 81 } // namespace blink
85 82
86 #endif 83 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RootInlineBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698