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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutText.cpp

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 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 * (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 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net)
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 25 matching lines...) Expand all
36 #include "core/layout/LayoutTextCombine.h" 36 #include "core/layout/LayoutTextCombine.h"
37 #include "core/layout/LayoutView.h" 37 #include "core/layout/LayoutView.h"
38 #include "core/layout/TextAutosizer.h" 38 #include "core/layout/TextAutosizer.h"
39 #include "core/layout/api/LineLayoutBox.h" 39 #include "core/layout/api/LineLayoutBox.h"
40 #include "core/layout/line/AbstractInlineTextBox.h" 40 #include "core/layout/line/AbstractInlineTextBox.h"
41 #include "core/layout/line/EllipsisBox.h" 41 #include "core/layout/line/EllipsisBox.h"
42 #include "core/layout/line/GlyphOverflow.h" 42 #include "core/layout/line/GlyphOverflow.h"
43 #include "core/layout/line/InlineTextBox.h" 43 #include "core/layout/line/InlineTextBox.h"
44 #include "platform/fonts/CharacterRange.h" 44 #include "platform/fonts/CharacterRange.h"
45 #include "platform/geometry/FloatQuad.h" 45 #include "platform/geometry/FloatQuad.h"
46 #include "platform/scheduler/child/web_scheduler.h"
46 #include "platform/text/BidiResolver.h" 47 #include "platform/text/BidiResolver.h"
47 #include "platform/text/Character.h" 48 #include "platform/text/Character.h"
48 #include "platform/text/Hyphenation.h" 49 #include "platform/text/Hyphenation.h"
49 #include "platform/text/TextBreakIterator.h" 50 #include "platform/text/TextBreakIterator.h"
50 #include "platform/text/TextRunIterator.h" 51 #include "platform/text/TextRunIterator.h"
51 #include "platform/wtf/text/StringBuffer.h" 52 #include "platform/wtf/text/StringBuffer.h"
52 #include "platform/wtf/text/StringBuilder.h" 53 #include "platform/wtf/text/StringBuilder.h"
53 #include "public/platform/Platform.h" 54 #include "public/platform/Platform.h"
54 #include "public/platform/WebScheduler.h"
55 #include "public/platform/WebThread.h" 55 #include "public/platform/WebThread.h"
56 56
57 namespace blink { 57 namespace blink {
58 58
59 struct SameSizeAsLayoutText : public LayoutObject { 59 struct SameSizeAsLayoutText : public LayoutObject {
60 uint32_t bitfields : 16; 60 uint32_t bitfields : 16;
61 float widths[4]; 61 float widths[4];
62 String text; 62 String text;
63 void* pointers[2]; 63 void* pointers[2];
64 }; 64 };
(...skipping 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after
2130 LayoutRect rect = LayoutRect( 2130 LayoutRect rect = LayoutRect(
2131 IntRect(FirstRunX(), FirstRunY(), lines_box.Width(), lines_box.Height())); 2131 IntRect(FirstRunX(), FirstRunY(), lines_box.Width(), lines_box.Height()));
2132 LayoutBlock* block = ContainingBlock(); 2132 LayoutBlock* block = ContainingBlock();
2133 if (block && HasTextBoxes()) 2133 if (block && HasTextBoxes())
2134 block->AdjustChildDebugRect(rect); 2134 block->AdjustChildDebugRect(rect);
2135 2135
2136 return rect; 2136 return rect;
2137 } 2137 }
2138 2138
2139 } // namespace blink 2139 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698