Changeset 228328 in webkit


Ignore:
Timestamp:
Feb 9, 2018 10:40:08 AM (6 years ago)
Author:
pvollan@apple.com
Message:

Follow-up fixes after moving WebVideoFullscreenController from WebCore to WebKitLegacy.
https://bugs.webkit.org/show_bug.cgi?id=182641

Reviewed by Dan Bernstein.

Remove incorrect use of WEBCORE_EXPORT and namespace WebCore after the files were moved in
https://trac.webkit.org/changeset/228308.

  • WebView/WebVideoFullscreenController.h:
  • WebView/WebVideoFullscreenHUDWindowController.mm:
  • WebView/WebWindowAnimation.h:
  • WebView/WebWindowAnimation.mm:

(WebCore::WebWindowAnimationDurationFromDuration): Deleted.
(WebCore::scaledRect): Deleted.
(WebCore::squaredDistance): Deleted.

Location:
trunk/Source/WebKitLegacy/mac
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r228322 r228328  
     12018-02-09  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Follow-up fixes after moving WebVideoFullscreenController from WebCore to WebKitLegacy.
     4        https://bugs.webkit.org/show_bug.cgi?id=182641
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Remove incorrect use of WEBCORE_EXPORT and namespace WebCore after the files were moved in
     9        https://trac.webkit.org/changeset/228308.
     10
     11        * WebView/WebVideoFullscreenController.h:
     12        * WebView/WebVideoFullscreenHUDWindowController.mm:
     13        * WebView/WebWindowAnimation.h:
     14        * WebView/WebWindowAnimation.mm:
     15        (WebCore::WebWindowAnimationDurationFromDuration): Deleted.
     16        (WebCore::scaledRect): Deleted.
     17        (WebCore::squaredDistance): Deleted.
     18
    1192018-02-09  Per Arne Vollan  <pvollan@apple.com>
    220
  • trunk/Source/WebKitLegacy/mac/WebView/WebVideoFullscreenController.h

    r228308 r228328  
    4545@class CALayer;
    4646
    47 WEBCORE_EXPORT @interface WebVideoFullscreenController : NSWindowController {
     47@interface WebVideoFullscreenController : NSWindowController {
    4848@private
    4949    RefPtr<WebCore::HTMLVideoElement> _videoElement; // (retain)
  • trunk/Source/WebKitLegacy/mac/WebView/WebVideoFullscreenHUDWindowController.mm

    r228308 r228328  
    4545#define QTHUDTimeline getQTHUDTimelineClass()
    4646
    47 
    48 namespace WebCore {
    49 
    5047enum class MediaUIControl {
    5148    Timeline,
     
    5956};
    6057
    61 }
    62 
    63 using WebCore::MediaUIControl;
    6458using WebCore::HTMLVideoElement;
    6559using WebCore::narrowPrecisionToFloat;
     60
    6661@interface WebVideoFullscreenHUDWindowController (Private) <NSWindowDelegate>
    6762
  • trunk/Source/WebKitLegacy/mac/WebView/WebWindowAnimation.h

    r228308 r228328  
    2626#import <Cocoa/Cocoa.h>
    2727
    28 WEBCORE_EXPORT @interface WebWindowScaleAnimation : NSAnimation {
     28@interface WebWindowScaleAnimation : NSAnimation {
    2929@private
    3030    NSRect _initialFrame, _finalFrame, _realFrame;
     
    4444
    4545
    46 WEBCORE_EXPORT @interface WebWindowFadeAnimation : NSAnimation {
     46@interface WebWindowFadeAnimation : NSAnimation {
    4747@private
    4848    CGFloat _initialAlpha, _finalAlpha;
  • trunk/Source/WebKitLegacy/mac/WebView/WebWindowAnimation.mm

    r228322 r228328  
    3333#import <wtf/MathExtras.h>
    3434
    35 namespace WebCore {
    36 
    3735static const CGFloat slowMotionFactor = 10;
    3836
     
    5957}
    6058
    61 }
    62 
    63 using WebCore::WebWindowAnimationDurationFromDuration;
    6459using WebCore::narrowPrecisionToFloat;
    65 using WebCore::scaledRect;
    66 using WebCore::squaredDistance;
     60
    6761@implementation WebWindowScaleAnimation
    6862
Note: See TracChangeset for help on using the changeset viewer.