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

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

Issue 397723006: Move RenderBlockFlow::constructTextRun out. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderImage.cpp ('k') | Source/core/rendering/RenderListMarker.cpp » ('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 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/page/EventHandler.h" 46 #include "core/page/EventHandler.h"
47 #include "core/page/FocusController.h" 47 #include "core/page/FocusController.h"
48 #include "core/page/Page.h" 48 #include "core/page/Page.h"
49 #include "core/page/SpatialNavigation.h" 49 #include "core/page/SpatialNavigation.h"
50 #include "core/rendering/HitTestResult.h" 50 #include "core/rendering/HitTestResult.h"
51 #include "core/rendering/PaintInfo.h" 51 #include "core/rendering/PaintInfo.h"
52 #include "core/rendering/RenderScrollbar.h" 52 #include "core/rendering/RenderScrollbar.h"
53 #include "core/rendering/RenderText.h" 53 #include "core/rendering/RenderText.h"
54 #include "core/rendering/RenderTheme.h" 54 #include "core/rendering/RenderTheme.h"
55 #include "core/rendering/RenderView.h" 55 #include "core/rendering/RenderView.h"
56 #include "core/rendering/TextRunConstructor.h"
56 #include "platform/fonts/FontCache.h" 57 #include "platform/fonts/FontCache.h"
57 #include "platform/graphics/GraphicsContext.h" 58 #include "platform/graphics/GraphicsContext.h"
58 #include "platform/scroll/Scrollbar.h" 59 #include "platform/scroll/Scrollbar.h"
59 #include "platform/text/BidiTextRun.h" 60 #include "platform/text/BidiTextRun.h"
60 #include <math.h> 61 #include <math.h>
61 62
62 namespace WebCore { 63 namespace WebCore {
63 64
64 using namespace HTMLNames; 65 using namespace HTMLNames;
65 66
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 { 1017 {
1017 return itemBoundingBoxRectInternal(point, listIndexToRenderListBoxIndex(inde x)); 1018 return itemBoundingBoxRectInternal(point, listIndexToRenderListBoxIndex(inde x));
1018 } 1019 }
1019 1020
1020 bool RenderListBox::scrollToRevealElementAtListIndex(int index) 1021 bool RenderListBox::scrollToRevealElementAtListIndex(int index)
1021 { 1022 {
1022 return scrollToRevealElementAtListIndexInternal(listIndexToRenderListBoxInde x(index)); 1023 return scrollToRevealElementAtListIndexInternal(listIndexToRenderListBoxInde x(index));
1023 } 1024 }
1024 1025
1025 } // namespace WebCore 1026 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderImage.cpp ('k') | Source/core/rendering/RenderListMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698