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

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

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h Created 4 years, 6 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 * 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 30 matching lines...) Expand all
41 #include "core/frame/FrameView.h" 41 #include "core/frame/FrameView.h"
42 #include "core/frame/LocalFrame.h" 42 #include "core/frame/LocalFrame.h"
43 #include "core/html/HTMLDivElement.h" 43 #include "core/html/HTMLDivElement.h"
44 #include "core/html/HTMLOptGroupElement.h" 44 #include "core/html/HTMLOptGroupElement.h"
45 #include "core/html/HTMLOptionElement.h" 45 #include "core/html/HTMLOptionElement.h"
46 #include "core/html/HTMLSelectElement.h" 46 #include "core/html/HTMLSelectElement.h"
47 #include "core/input/EventHandler.h" 47 #include "core/input/EventHandler.h"
48 #include "core/layout/HitTestResult.h" 48 #include "core/layout/HitTestResult.h"
49 #include "core/layout/LayoutText.h" 49 #include "core/layout/LayoutText.h"
50 #include "core/layout/LayoutTheme.h" 50 #include "core/layout/LayoutTheme.h"
51 #include "core/layout/LayoutView.h"
52 #include "core/layout/TextRunConstructor.h" 51 #include "core/layout/TextRunConstructor.h"
53 #include "core/page/FocusController.h" 52 #include "core/page/FocusController.h"
54 #include "core/page/Page.h" 53 #include "core/page/Page.h"
55 #include "core/page/SpatialNavigation.h" 54 #include "core/page/SpatialNavigation.h"
56 #include "core/paint/PaintLayer.h" 55 #include "core/paint/PaintLayer.h"
57 #include "platform/fonts/FontCache.h" 56 #include "platform/fonts/FontCache.h"
58 #include "platform/graphics/GraphicsContext.h" 57 #include "platform/graphics/GraphicsContext.h"
59 #include "platform/text/BidiTextRun.h" 58 #include "platform/text/BidiTextRun.h"
60 #include <math.h> 59 #include <math.h>
61 60
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void LayoutListBox::scrollToRect(const LayoutRect& rect) 145 void LayoutListBox::scrollToRect(const LayoutRect& rect)
147 { 146 {
148 if (hasOverflowClip()) { 147 if (hasOverflowClip()) {
149 ASSERT(layer()); 148 ASSERT(layer());
150 ASSERT(layer()->getScrollableArea()); 149 ASSERT(layer()->getScrollableArea());
151 layer()->getScrollableArea()->scrollIntoView(rect, ScrollAlignment::alig nToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded); 150 layer()->getScrollableArea()->scrollIntoView(rect, ScrollAlignment::alig nToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded);
152 } 151 }
153 } 152 }
154 153
155 } // namespace blink 154 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutListItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698