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

Side by Side Diff: third_party/WebKit/Source/core/paint/ThemePainter.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 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 theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 13 matching lines...) Expand all
24 #include "core/InputTypeNames.h" 24 #include "core/InputTypeNames.h"
25 #include "core/frame/FrameView.h" 25 #include "core/frame/FrameView.h"
26 #include "core/frame/UseCounter.h" 26 #include "core/frame/UseCounter.h"
27 #include "core/html/HTMLDataListElement.h" 27 #include "core/html/HTMLDataListElement.h"
28 #include "core/html/HTMLDataListOptionsCollection.h" 28 #include "core/html/HTMLDataListOptionsCollection.h"
29 #include "core/html/HTMLInputElement.h" 29 #include "core/html/HTMLInputElement.h"
30 #include "core/html/HTMLOptionElement.h" 30 #include "core/html/HTMLOptionElement.h"
31 #include "core/html/parser/HTMLParserIdioms.h" 31 #include "core/html/parser/HTMLParserIdioms.h"
32 #include "core/html/shadow/ShadowElementNames.h" 32 #include "core/html/shadow/ShadowElementNames.h"
33 #include "core/layout/LayoutTheme.h" 33 #include "core/layout/LayoutTheme.h"
34 #include "core/layout/LayoutView.h"
34 #include "core/paint/MediaControlsPainter.h" 35 #include "core/paint/MediaControlsPainter.h"
35 #include "core/paint/PaintInfo.h" 36 #include "core/paint/PaintInfo.h"
36 #include "core/style/ComputedStyle.h" 37 #include "core/style/ComputedStyle.h"
37 #include "platform/Theme.h" 38 #include "platform/Theme.h"
38 #include "platform/graphics/GraphicsContextStateSaver.h" 39 #include "platform/graphics/GraphicsContextStateSaver.h"
39 #include "public/platform/Platform.h" 40 #include "public/platform/Platform.h"
40 #include "public/platform/WebFallbackThemeEngine.h" 41 #include "public/platform/WebFallbackThemeEngine.h"
41 #include "public/platform/WebRect.h" 42 #include "public/platform/WebRect.h"
42 43
43 // The methods in this file are shared by all themes on every platform. 44 // The methods in this file are shared by all themes on every platform.
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); 355 i.context.translate(unzoomedRect.x(), unzoomedRect.y());
355 i.context.scale(zoomLevel, zoomLevel); 356 i.context.scale(zoomLevel, zoomLevel);
356 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); 357 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y());
357 } 358 }
358 359
359 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam s); 360 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam s);
360 return false; 361 return false;
361 } 362 }
362 363
363 } // namespace blink 364 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698