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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.mm

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Google, Inc. 3 * Copyright (C) 2008, 2009 Google, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 #import "core/css/CSSValueList.h" 27 #import "core/css/CSSValueList.h"
28 #import "core/dom/Document.h" 28 #import "core/dom/Document.h"
29 #import "core/dom/Element.h" 29 #import "core/dom/Element.h"
30 #import "core/fileapi/FileList.h" 30 #import "core/fileapi/FileList.h"
31 #import "core/html/HTMLInputElement.h" 31 #import "core/html/HTMLInputElement.h"
32 #import "core/html/HTMLMediaElement.h" 32 #import "core/html/HTMLMediaElement.h"
33 #import "core/html/HTMLMeterElement.h" 33 #import "core/html/HTMLMeterElement.h"
34 #import "core/html/TimeRanges.h" 34 #import "core/html/TimeRanges.h"
35 #import "core/html/shadow/MediaControlElements.h" 35 #import "core/html/shadow/MediaControlElements.h"
36 #import "core/frame/FrameView.h" 36 #import "core/frame/FrameView.h"
37 #import "core/platform/graphics/BitmapImage.h"
38 #import "core/platform/graphics/GraphicsContextStateSaver.h"
39 #import "core/platform/graphics/Image.h"
40 #import "core/platform/graphics/ImageBuffer.h"
41 #import "core/platform/graphics/StringTruncator.h" 37 #import "core/platform/graphics/StringTruncator.h"
42 #import "core/platform/graphics/cg/GraphicsContextCG.h"
43 #import "core/platform/graphics/mac/ColorMac.h"
44 #import "core/platform/mac/LocalCurrentGraphicsContext.h"
45 #import "core/platform/mac/ThemeMac.h" 38 #import "core/platform/mac/ThemeMac.h"
46 #import "core/platform/mac/WebCoreNSCellExtras.h" 39 #import "core/platform/mac/WebCoreNSCellExtras.h"
47 #import "core/rendering/PaintInfo.h" 40 #import "core/rendering/PaintInfo.h"
48 #import "core/rendering/RenderLayer.h" 41 #import "core/rendering/RenderLayer.h"
49 #import "core/rendering/RenderMedia.h" 42 #import "core/rendering/RenderMedia.h"
50 #import "core/rendering/RenderMediaControls.h" 43 #import "core/rendering/RenderMediaControls.h"
51 #import "core/rendering/RenderMeter.h" 44 #import "core/rendering/RenderMeter.h"
52 #import "core/rendering/RenderProgress.h" 45 #import "core/rendering/RenderProgress.h"
53 #import "core/rendering/RenderSlider.h" 46 #import "core/rendering/RenderSlider.h"
54 #import "core/rendering/RenderView.h" 47 #import "core/rendering/RenderView.h"
55 #import "core/rendering/style/ShadowList.h" 48 #import "core/rendering/style/ShadowList.h"
56 #import "platform/LayoutTestSupport.h" 49 #import "platform/LayoutTestSupport.h"
57 #import "platform/SharedBuffer.h" 50 #import "platform/SharedBuffer.h"
51 #import "platform/graphics/BitmapImage.h"
52 #import "platform/graphics/GraphicsContextStateSaver.h"
53 #import "platform/graphics/Image.h"
54 #import "platform/graphics/ImageBuffer.h"
55 #import "platform/graphics/cg/GraphicsContextCG.h"
56 #import "platform/mac/ColorMac.h"
57 #import "platform/mac/LocalCurrentGraphicsContext.h"
58 #import "platform/text/PlatformLocale.h" 58 #import "platform/text/PlatformLocale.h"
59 59
60 #import <AvailabilityMacros.h> 60 #import <AvailabilityMacros.h>
61 #import <Carbon/Carbon.h> 61 #import <Carbon/Carbon.h>
62 #import <Cocoa/Cocoa.h> 62 #import <Cocoa/Cocoa.h>
63 #import <math.h> 63 #import <math.h>
64 #import <wtf/RetainPtr.h> 64 #import <wtf/RetainPtr.h>
65 #import <wtf/StdLibExtras.h> 65 #import <wtf/StdLibExtras.h>
66 66
67 using namespace std; 67 using namespace std;
(...skipping 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 2004
2005 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const 2005 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const
2006 { 2006 {
2007 ControlPart part = style->appearance(); 2007 ControlPart part = style->appearance();
2008 if (part == CheckboxPart || part == RadioPart) 2008 if (part == CheckboxPart || part == RadioPart)
2009 return style->effectiveZoom() != 1; 2009 return style->effectiveZoom() != 1;
2010 return false; 2010 return false;
2011 } 2011 }
2012 2012
2013 } // namespace WebCore 2013 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumDefault.cpp ('k') | Source/core/rendering/RenderThemeChromiumSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698