Changeset 90129 in webkit


Ignore:
Timestamp:
Jun 30, 2011, 9:53:52 AM (14 years ago)
Author:
mitz@apple.com
Message:

Add +[WebView _allowsRoundingHacks]
https://bugs.webkit.org/show_bug.cgi?id=63734

Reviewed by Adele Peterson.

Source/WebCore:

  • WebCore.exp.in: Export TextRun::allowsRoundingHacks().
  • platform/graphics/TextRun.cpp:

(WebCore::TextRun::allowsRoundingHacks): Added this accessor.

  • platform/graphics/TextRun.h:

Source/WebKit/mac:

  • WebView/WebView.mm:

(+[WebView _allowsRoundingHacks]): Added this accessor.

  • WebView/WebViewPrivate.h:
Location:
trunk/Source
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Source/WebCore/ChangeLog

    r90127 r90129  
     12011-06-30  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        Add +[WebView _allowsRoundingHacks]
     6        https://bugs.webkit.org/show_bug.cgi?id=63734
     7
     8        * WebCore.exp.in: Export TextRun::allowsRoundingHacks().
     9        * platform/graphics/TextRun.cpp:
     10        (WebCore::TextRun::allowsRoundingHacks): Added this accessor.
     11        * platform/graphics/TextRun.h:
     12
    1132011-06-30  Patrick Gansterer  <paroga@webkit.org>
    214
  • TabularUnified trunk/Source/WebCore/WebCore.exp.in

    r90087 r90129  
    827827__ZN7WebCore7IntRectC1ERKNS_9FloatRectE
    828828__ZN7WebCore7IntSizeC1ERK7_NSSize
     829__ZN7WebCore7TextRun19allowsRoundingHacksEv
    829830__ZN7WebCore7TextRun21s_allowsRoundingHacksE
    830831__ZN7WebCore7TextRun22setAllowsRoundingHacksEb
  • TabularUnified trunk/Source/WebCore/platform/graphics/TextRun.cpp

    r89733 r90129  
    3636}
    3737
     38bool TextRun::allowsRoundingHacks()
     39{
     40    return s_allowsRoundingHacks;
    3841}
     42
     43}
  • TabularUnified trunk/Source/WebCore/platform/graphics/TextRun.h

    r89733 r90129  
    147147
    148148    static void setAllowsRoundingHacks(bool);
     149    static bool allowsRoundingHacks();
    149150
    150151private:
  • TabularUnified trunk/Source/WebKit/mac/ChangeLog

    r90087 r90129  
     12011-06-30  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        Add +[WebView _allowsRoundingHacks]
     6        https://bugs.webkit.org/show_bug.cgi?id=63734
     7
     8        * WebView/WebView.mm:
     9        (+[WebView _allowsRoundingHacks]): Added this accessor.
     10        * WebView/WebViewPrivate.h:
     11
    1122011-06-29  Darin Adler  <darin@apple.com>
    213
  • TabularUnified trunk/Source/WebKit/mac/WebView/WebView.mm

    r89733 r90129  
    10721072}
    10731073
     1074+ (BOOL)_allowsRoundingHacks
     1075{
     1076    return TextRun::allowsRoundingHacks();
     1077}
     1078
    10741079+ (BOOL)canCloseAllWebViews
    10751080{
  • TabularUnified trunk/Source/WebKit/mac/WebView/WebViewPrivate.h

    r89733 r90129  
    343343
    344344+ (void)_setAllowsRoundingHacks:(BOOL)allowsRoundingHacks;
     345+ (BOOL)_allowsRoundingHacks;
    345346
    346347- (NSCachedURLResponse *)_cachedResponseForURL:(NSURL *)URL;
Note: See TracChangeset for help on using the changeset viewer.