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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumWin.cpp

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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.cpp ('k') | Source/core/rendering/RenderView.h » ('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 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2008, 2009 Google, Inc. 5 * Copyright (C) 2008, 2009 Google, Inc.
6 * Copyright (C) 2009 Kenneth Rohde Christiansen 6 * Copyright (C) 2009 Kenneth Rohde Christiansen
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 15 matching lines...) Expand all
26 #include "core/rendering/RenderThemeChromiumWin.h" 26 #include "core/rendering/RenderThemeChromiumWin.h"
27 27
28 #include <windows.h> 28 #include <windows.h>
29 #include <uxtheme.h> 29 #include <uxtheme.h>
30 #include <vssym32.h> 30 #include <vssym32.h>
31 31
32 #include "CSSValueKeywords.h" 32 #include "CSSValueKeywords.h"
33 #include "HTMLNames.h" 33 #include "HTMLNames.h"
34 #include "core/html/HTMLMediaElement.h" 34 #include "core/html/HTMLMediaElement.h"
35 #include "core/html/shadow/MediaControlElements.h" 35 #include "core/html/shadow/MediaControlElements.h"
36 #include "core/platform/ScrollbarTheme.h"
37 #include "core/platform/graphics/GraphicsContext.h"
38 #include "core/platform/graphics/win/TransparencyWin.h" 36 #include "core/platform/graphics/win/TransparencyWin.h"
39 #include "core/rendering/PaintInfo.h" 37 #include "core/rendering/PaintInfo.h"
40 #include "core/rendering/RenderBox.h" 38 #include "core/rendering/RenderBox.h"
41 #include "core/rendering/RenderProgress.h" 39 #include "core/rendering/RenderProgress.h"
42 #include "core/rendering/RenderSlider.h" 40 #include "core/rendering/RenderSlider.h"
43 #include "platform/LayoutTestSupport.h" 41 #include "platform/LayoutTestSupport.h"
44 #include "platform/fonts/FontSelector.h" 42 #include "platform/fonts/FontSelector.h"
43 #include "platform/graphics/GraphicsContext.h"
44 #include "platform/scroll/ScrollbarTheme.h"
45 #include "platform/win/SystemInfo.h" 45 #include "platform/win/SystemInfo.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebColor.h" 47 #include "public/platform/WebColor.h"
48 #include "public/platform/WebRect.h" 48 #include "public/platform/WebRect.h"
49 #include "public/platform/win/WebThemeEngine.h" 49 #include "public/platform/win/WebThemeEngine.h"
50 #include "wtf/CurrentTime.h" 50 #include "wtf/CurrentTime.h"
51 #include "wtf/StdLibExtras.h" 51 #include "wtf/StdLibExtras.h"
52 52
53 // FIXME: This dependency should eventually be removed. 53 // FIXME: This dependency should eventually be removed.
54 #include <skia/ext/skia_utils_win.h> 54 #include <skia/ext/skia_utils_win.h>
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 651
652 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const 652 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const
653 { 653 {
654 ControlPart part = style->appearance(); 654 ControlPart part = style->appearance();
655 if (part == CheckboxPart || part == RadioPart) 655 if (part == CheckboxPart || part == RadioPart)
656 return style->effectiveZoom() != 1; 656 return style->effectiveZoom() != 1;
657 return false; 657 return false;
658 } 658 }
659 659
660 } // namespace WebCore 660 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.cpp ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698