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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutMenuList.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, 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 * This file is part of the select element layoutObject in WebCore. 2 * This file is part of the select element layoutObject in WebCore.
3 * 3 *
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
6 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 6 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.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 17 matching lines...) Expand all
28 #include "core/css/CSSFontSelector.h" 28 #include "core/css/CSSFontSelector.h"
29 #include "core/css/resolver/StyleResolver.h" 29 #include "core/css/resolver/StyleResolver.h"
30 #include "core/dom/AXObjectCache.h" 30 #include "core/dom/AXObjectCache.h"
31 #include "core/dom/NodeComputedStyle.h" 31 #include "core/dom/NodeComputedStyle.h"
32 #include "core/html/HTMLOptGroupElement.h" 32 #include "core/html/HTMLOptGroupElement.h"
33 #include "core/html/HTMLOptionElement.h" 33 #include "core/html/HTMLOptionElement.h"
34 #include "core/html/HTMLSelectElement.h" 34 #include "core/html/HTMLSelectElement.h"
35 #include "core/layout/LayoutBR.h" 35 #include "core/layout/LayoutBR.h"
36 #include "core/layout/LayoutScrollbar.h" 36 #include "core/layout/LayoutScrollbar.h"
37 #include "core/layout/LayoutTheme.h" 37 #include "core/layout/LayoutTheme.h"
38 #include "core/layout/LayoutView.h"
39 #include "platform/fonts/FontCache.h" 38 #include "platform/fonts/FontCache.h"
40 #include "platform/geometry/IntSize.h" 39 #include "platform/geometry/IntSize.h"
41 #include "platform/text/BidiTextRun.h" 40 #include "platform/text/BidiTextRun.h"
42 #include "platform/text/PlatformLocale.h" 41 #include "platform/text/PlatformLocale.h"
43 #include <math.h> 42 #include <math.h>
44 43
45 namespace blink { 44 namespace blink {
46 45
47 using namespace HTMLNames; 46 using namespace HTMLNames;
48 47
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 { 345 {
347 return paddingLeft() + m_innerBlock->paddingLeft(); 346 return paddingLeft() + m_innerBlock->paddingLeft();
348 } 347 }
349 348
350 LayoutUnit LayoutMenuList::clientPaddingRight() const 349 LayoutUnit LayoutMenuList::clientPaddingRight() const
351 { 350 {
352 return paddingRight() + m_innerBlock->paddingRight(); 351 return paddingRight() + m_innerBlock->paddingRight();
353 } 352 }
354 353
355 } // namespace blink 354 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutListItem.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698