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

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

Issue 315403007: Remove GraphicsContextCG. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/blink_platform.gypi » ('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) 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #import "core/rendering/RenderProgress.h" 42 #import "core/rendering/RenderProgress.h"
43 #import "core/rendering/RenderSlider.h" 43 #import "core/rendering/RenderSlider.h"
44 #import "core/rendering/RenderView.h" 44 #import "core/rendering/RenderView.h"
45 #import "core/rendering/style/ShadowList.h" 45 #import "core/rendering/style/ShadowList.h"
46 #import "platform/LayoutTestSupport.h" 46 #import "platform/LayoutTestSupport.h"
47 #import "platform/SharedBuffer.h" 47 #import "platform/SharedBuffer.h"
48 #import "platform/graphics/BitmapImage.h" 48 #import "platform/graphics/BitmapImage.h"
49 #import "platform/graphics/GraphicsContextStateSaver.h" 49 #import "platform/graphics/GraphicsContextStateSaver.h"
50 #import "platform/graphics/Image.h" 50 #import "platform/graphics/Image.h"
51 #import "platform/graphics/ImageBuffer.h" 51 #import "platform/graphics/ImageBuffer.h"
52 #import "platform/graphics/cg/GraphicsContextCG.h"
53 #import "platform/mac/ColorMac.h" 52 #import "platform/mac/ColorMac.h"
54 #import "platform/mac/LocalCurrentGraphicsContext.h" 53 #import "platform/mac/LocalCurrentGraphicsContext.h"
55 #import "platform/mac/ThemeMac.h" 54 #import "platform/mac/ThemeMac.h"
56 #import "platform/mac/WebCoreNSCellExtras.h" 55 #import "platform/mac/WebCoreNSCellExtras.h"
57 #import "platform/text/PlatformLocale.h" 56 #import "platform/text/PlatformLocale.h"
58 #import "platform/text/StringTruncator.h" 57 #import "platform/text/StringTruncator.h"
59 58
60 #import <AvailabilityMacros.h> 59 #import <AvailabilityMacros.h>
61 #import <Carbon/Carbon.h> 60 #import <Carbon/Carbon.h>
62 #import <Cocoa/Cocoa.h> 61 #import <Cocoa/Cocoa.h>
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 1903
1905 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const 1904 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const
1906 { 1905 {
1907 ControlPart part = style->appearance(); 1906 ControlPart part = style->appearance();
1908 if (part == CheckboxPart || part == RadioPart) 1907 if (part == CheckboxPart || part == RadioPart)
1909 return style->effectiveZoom() != 1; 1908 return style->effectiveZoom() != 1;
1910 return false; 1909 return false;
1911 } 1910 }
1912 1911
1913 } // namespace WebCore 1912 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698