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

Side by Side Diff: Source/platform/Theme.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/platform/TestingPlatformSupport.cpp ('k') | Source/platform/Theme.cpp » ('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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "platform/LengthBox.h" 29 #include "platform/LengthBox.h"
30 #include "platform/LengthSize.h" 30 #include "platform/LengthSize.h"
31 #include "platform/PlatformExport.h" 31 #include "platform/PlatformExport.h"
32 #include "platform/ThemeTypes.h" 32 #include "platform/ThemeTypes.h"
33 #include "platform/fonts/FontDescription.h" 33 #include "platform/fonts/FontDescription.h"
34 #include "platform/geometry/IntRect.h" 34 #include "platform/geometry/IntRect.h"
35 #include "platform/graphics/Color.h" 35 #include "platform/graphics/Color.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 37
38 namespace WebCore { 38 namespace blink {
39 39
40 class GraphicsContext; 40 class GraphicsContext;
41 class ScrollView; 41 class ScrollView;
42 42
43 // Unlike other platform classes, Theme does extensively use virtual functions. This design allows a platform to switch between multiple themes at runtime. 43 // Unlike other platform classes, Theme does extensively use virtual functions. This design allows a platform to switch between multiple themes at runtime.
44 class PLATFORM_EXPORT Theme { 44 class PLATFORM_EXPORT Theme {
45 public: 45 public:
46 Theme() { } 46 Theme() { }
47 virtual ~Theme() { } 47 virtual ~Theme() { }
48 48
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // amount is also scaled by the zoomFactor. 102 // amount is also scaled by the zoomFactor.
103 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect& /* zoomedRect*/, float /*zoomFactor*/) const { } 103 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect& /* zoomedRect*/, float /*zoomFactor*/) const { }
104 104
105 private: 105 private:
106 mutable Color m_activeSelectionColor; 106 mutable Color m_activeSelectionColor;
107 mutable Color m_inactiveSelectionColor; 107 mutable Color m_inactiveSelectionColor;
108 }; 108 };
109 109
110 PLATFORM_EXPORT Theme* platformTheme(); 110 PLATFORM_EXPORT Theme* platformTheme();
111 111
112 } // namespace WebCore 112 } // namespace blink
113 113
114 #endif // Theme_h 114 #endif // Theme_h
OLDNEW
« no previous file with comments | « Source/platform/TestingPlatformSupport.cpp ('k') | Source/platform/Theme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698