Changeset 120220 in webkit
- Timestamp:
- Jun 13, 2012, 10:09:54 AM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 added
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r120219 r120220 1 2012-06-13 Xianzhu Wang <wangxianzhu@chromium.org> 2 3 [Chromium] Let Android and Linux share WebFontRendering decl/impl. 4 https://bugs.webkit.org/show_bug.cgi?id=88802 5 6 Reviewed by Adam Barth. 7 8 * WebKit.gyp: 9 * public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish. 10 * public/linuxish: Added. 11 * public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h. 12 * src/linux/WebFontRendering.cpp: Removed. 13 * src/linuxish: Added. 14 * src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp. 15 1 16 2012-06-13 Martin Kosiba <mkosiba@google.com> 2 17 -
trunk/Source/WebKit/chromium/WebKit.gyp
r120168 r120220 285 285 'public/gtk/WebInputEventFactory.h', 286 286 'public/linux/WebFontRenderStyle.h', 287 'public/linux/WebFontRendering.h',288 287 'public/linux/WebRenderTheme.h', 288 'public/linuxish/WebFontRendering.h', 289 289 'public/mac/WebInputEventFactory.h', 290 290 'public/mac/WebSandboxSupport.h', … … 429 429 'src/android/WebInputEventFactory.cpp', 430 430 'src/linux/WebFontInfo.cpp', 431 'src/linux/WebFontRendering.cpp',432 431 'src/linux/WebFontRenderStyle.cpp', 433 432 'src/linux/WebRenderTheme.cpp', 433 'src/linuxish/WebFontRendering.cpp', 434 434 'src/x11/WebScreenInfoFactory.cpp', 435 435 'src/mac/WebInputEventFactory.mm', … … 777 777 'public/x11', 778 778 'public/linux', 779 'public/linuxish', 779 780 ], 780 781 }, { # else: use_x11 != 1 781 782 'sources/': [ 783 # FIXME: Put this rule in Chromium's build/filename_rules.gypi. 782 784 ['exclude', '/x11/'], 783 ['exclude', '/linux/'],784 785 ], 785 786 }], … … 791 792 'public/gtk', 792 793 ], 793 }, { # else: toolkit_uses_gtk != 1794 'sources/': [795 ['exclude', '/gtk/'],796 ],797 794 }], 798 795 ['OS=="android"', { 799 796 'include_dirs': [ 800 797 'public/android', 801 ], 802 }, { # else: OS!="android" 803 'sources/': [ 804 ['exclude', '/android/'], 798 'public/linuxish', 805 799 ], 806 800 }], … … 815 809 }, { # else: OS!="mac" 816 810 'sources/': [ 817 ['exclude', '/mac/'],818 811 ['exclude', 'CG\\.cpp$'], 819 812 ], … … 824 817 ], 825 818 }, { # else: OS!="win" 826 'sources/': [['exclude', '/win/']],827 819 'variables': { 828 820 # FIXME: Turn on warnings on Windows. -
trunk/Source/WebKit/chromium/public/linux/WebFontRendering.h
r119732 r120220 28 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 29 */ 30 31 #ifndef WebFontRendering_h 32 #define WebFontRendering_h 33 34 #include "../platform/WebCommon.h" 35 #include <SkFontHost.h> 36 #include <SkPaint.h> 37 38 namespace WebKit { 39 40 class WebFontRendering { 41 public: 42 // Set global font renderering preferences. 43 44 WEBKIT_EXPORT static void setHinting(SkPaint::Hinting); 45 WEBKIT_EXPORT static void setAntiAlias(bool); 46 WEBKIT_EXPORT static void setSubpixelGlyphs(bool); // DEPRECATED: use setSubpixelRendering instead 47 WEBKIT_EXPORT static void setSubpixelRendering(bool); 48 WEBKIT_EXPORT static void setSubpixelPositioning(bool); 49 WEBKIT_EXPORT static void setLCDOrder(SkFontHost::LCDOrder); 50 WEBKIT_EXPORT static void setLCDOrientation(SkFontHost::LCDOrientation); 51 }; 52 53 } // namespace WebKit 54 55 #endif 30 // FIXME: Remove once http://codereview.chromium.org/10544103/ is landed. 31 #include "../linuxish/WebFontRendering.h"
Note:
See TracChangeset
for help on using the changeset viewer.