Changeset 143088 in webkit


Ignore:
Timestamp:
Feb 15, 2013 6:33:40 PM (11 years ago)
Author:
eric.carlson@apple.com
Message:

[Mac] remove wkCaptionAppearance from WebKitSystemInterface
https://bugs.webkit.org/show_bug.cgi?id=109996

Reviewed by Simon Fraser.

Source/WebCore:

  • platform/mac/WebCoreSystemInterface.h:
  • platform/mac/WebCoreSystemInterface.mm:

Source/WebKit/mac:

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):

Source/WebKit2:

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface):

Location:
trunk/Source
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143076 r143088  
     12013-02-15  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac] remove wkCaptionAppearance from WebKitSystemInterface
     4        https://bugs.webkit.org/show_bug.cgi?id=109996
     5
     6        Reviewed by Simon Fraser.
     7
     8        * platform/mac/WebCoreSystemInterface.h:
     9        * platform/mac/WebCoreSystemInterface.mm:
     10
    1112013-02-15  Andreas Kling  <akling@apple.com>
    212
  • trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h

    r141025 r143088  
    352352#endif
    353353
    354 typedef enum {
    355     wkCaptionFontStyleDefault = 0,
    356     wkCaptionFontStyleMonospacedWithSerif,
    357     wkCaptionFontStyleProportionalWithSerif,
    358     wkCaptionFontStyleMonospacedWithoutSerif,
    359     wkCaptionFontStyleProportionalWithoutSerif,
    360     wkCaptionFontStyleCasual,
    361     wkCaptionFontStyleCursive,
    362     wkCaptionFontStyleSmallCapital,
    363     wkCaptionFontStyleMax
    364 } wkCaptionFontStyle;
    365 
    366 typedef enum {
    367     wkCaptionTextEdgeStyleUndefined = 0,
    368     wkCaptionTextEdgeStyleNone,
    369     wkCaptionTextEdgeStyleRaised,
    370     wkCaptionTextEdgeStyleDepressed,
    371     wkCaptionTextEdgeStyleUniform,
    372     wkCaptionTextEdgeStyleDropShadow,
    373     wkCaptionTextEdgeStyleMax
    374 } wkCaptionTextEdgeStyle;
    375 
    376 extern bool (*wkCaptionAppearanceHasUserPreferences)(void);
    377 extern bool (*wkCaptionAppearanceShowCaptionsWhenAvailable)(void);
    378 extern CGColorRef(*wkCaptionAppearanceCopyForegroundColor)(void);
    379 extern CGColorRef(*wkCaptionAppearanceCopyBackgroundColor)(void);
    380 extern CGColorRef(*wkCaptionAppearanceCopyWindowColor)(void);
    381 extern bool(*wkCaptionAppearanceGetForegroundOpacity)(CGFloat*);
    382 extern bool(*wkCaptionAppearanceGetBackgroundOpacity)(CGFloat*);
    383 extern bool(*wkCaptionAppearanceGetWindowOpacity)(CGFloat*);
    384 extern CGFontRef(*wkCaptionAppearanceCopyFontForStyle)(int);
    385 extern bool(*wkCaptionAppearanceGetRelativeCharacterSize)(CGFloat*);
    386 extern int(*wkCaptionAppearanceGetTextEdgeStyle)(void);
    387 extern CFStringRef(*wkCaptionAppearanceGetSettingsChangedNotification)(void);
    388354}
    389355
  • trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm

    r141025 r143088  
    223223CGFloat (*wkNSReboundDeltaForElasticDelta)(CGFloat delta);
    224224#endif
    225 
    226 bool (*wkCaptionAppearanceHasUserPreferences)(void);
    227 bool (*wkCaptionAppearanceShowCaptionsWhenAvailable)(void);
    228 CGColorRef(*wkCaptionAppearanceCopyForegroundColor)(void);
    229 CGColorRef(*wkCaptionAppearanceCopyBackgroundColor)(void);
    230 CGColorRef(*wkCaptionAppearanceCopyWindowColor)(void);
    231 bool(*wkCaptionAppearanceGetForegroundOpacity)(CGFloat*);
    232 bool(*wkCaptionAppearanceGetBackgroundOpacity)(CGFloat*);
    233 bool(*wkCaptionAppearanceGetWindowOpacity)(CGFloat*);
    234 CGFontRef(*wkCaptionAppearanceCopyFontForStyle)(int);
    235 bool(*wkCaptionAppearanceGetRelativeCharacterSize)(CGFloat*);
    236 int(*wkCaptionAppearanceGetTextEdgeStyle)(void);
    237 CFStringRef(*wkCaptionAppearanceGetSettingsChangedNotification)(void);
  • trunk/Source/WebKit/mac/ChangeLog

    r142977 r143088  
     12013-02-15  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac] remove wkCaptionAppearance from WebKitSystemInterface
     4        https://bugs.webkit.org/show_bug.cgi?id=109996
     5
     6        Reviewed by Simon Fraser.
     7
     8        * WebCoreSupport/WebSystemInterface.mm:
     9        (InitWebCoreSystemInterface):
     10
    1112013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
    212
  • trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm

    r141025 r143088  
    221221#endif
    222222
    223     INIT(CaptionAppearanceHasUserPreferences);
    224     INIT(CaptionAppearanceShowCaptionsWhenAvailable);
    225     INIT(CaptionAppearanceCopyForegroundColor);
    226     INIT(CaptionAppearanceCopyBackgroundColor);
    227     INIT(CaptionAppearanceCopyWindowColor);
    228     INIT(CaptionAppearanceGetForegroundOpacity);
    229     INIT(CaptionAppearanceGetBackgroundOpacity);
    230     INIT(CaptionAppearanceGetWindowOpacity);
    231     INIT(CaptionAppearanceCopyFontForStyle);
    232     INIT(CaptionAppearanceGetRelativeCharacterSize);
    233     INIT(CaptionAppearanceGetTextEdgeStyle);
    234     INIT(CaptionAppearanceGetSettingsChangedNotification);
    235 
    236223#endif
    237224    didInit = true;
  • trunk/Source/WebKit2/ChangeLog

    r143077 r143088  
     12013-02-15  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac] remove wkCaptionAppearance from WebKitSystemInterface
     4        https://bugs.webkit.org/show_bug.cgi?id=109996
     5
     6        Reviewed by Simon Fraser.
     7
     8        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
     9        (InitWebCoreSystemInterface):
     10
    1112013-02-15  Adenilson Cavalcanti  <cavalcantii@gmail.com>
    212
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm

    r141025 r143088  
    184184#endif
    185185
    186         INIT(CaptionAppearanceHasUserPreferences);
    187         INIT(CaptionAppearanceShowCaptionsWhenAvailable);
    188         INIT(CaptionAppearanceCopyForegroundColor);
    189         INIT(CaptionAppearanceCopyBackgroundColor);
    190         INIT(CaptionAppearanceCopyWindowColor);
    191         INIT(CaptionAppearanceGetForegroundOpacity);
    192         INIT(CaptionAppearanceGetBackgroundOpacity);
    193         INIT(CaptionAppearanceGetWindowOpacity);
    194         INIT(CaptionAppearanceCopyFontForStyle);
    195         INIT(CaptionAppearanceGetRelativeCharacterSize);
    196         INIT(CaptionAppearanceGetTextEdgeStyle);
    197         INIT(CaptionAppearanceGetSettingsChangedNotification);
    198186    });
    199187}
Note: See TracChangeset for help on using the changeset viewer.