Changeset 171161 in webkit


Ignore:
Timestamp:
Jul 16, 2014 6:04:20 PM (10 years ago)
Author:
Simon Fraser
Message:

[iOS] Expose the points on WebEventRegion
https://bugs.webkit.org/show_bug.cgi?id=134978

Reviewed by Tim Horton.

Expose WebEventRegion's points so that UIKit can get at them.

  • page/ios/WebEventRegion.h:
  • page/ios/WebEventRegion.mm:

(-[WebEventRegion p1]):
(-[WebEventRegion p2]):
(-[WebEventRegion p3]):
(-[WebEventRegion p4]):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r171160 r171161  
     12014-07-16  Simon Fraser  <simon.fraser@apple.com>
     2
     3        [iOS] Expose the points on WebEventRegion
     4        https://bugs.webkit.org/show_bug.cgi?id=134978
     5
     6        Reviewed by Tim Horton.
     7
     8        Expose WebEventRegion's points so that UIKit can get at them.
     9
     10        * page/ios/WebEventRegion.h:
     11        * page/ios/WebEventRegion.mm:
     12        (-[WebEventRegion p1]):
     13        (-[WebEventRegion p2]):
     14        (-[WebEventRegion p3]):
     15        (-[WebEventRegion p4]):
     16
    1172014-07-16  Brady Eidson  <beidson@apple.com>
    218
  • trunk/Source/WebCore/page/ios/WebEventRegion.h

    r162120 r171161  
    3636- (id)initWithPoints:(CGPoint)inP1 :(CGPoint)inP2 :(CGPoint)inP3 :(CGPoint)inP4;
    3737- (BOOL)hitTest:(CGPoint)point;
     38- (CGPoint)p1;
     39- (CGPoint)p2;
     40- (CGPoint)p3;
     41- (CGPoint)p4;
    3842@end
    3943
  • trunk/Source/WebCore/page/ios/WebEventRegion.mm

    r161850 r171161  
    8484}
    8585
     86- (CGPoint)p1
     87{
     88    return p1;
     89}
     90
     91- (CGPoint)p2
     92{
     93    return p2;
     94}
     95
     96- (CGPoint)p3
     97{
     98    return p3;
     99}
     100
     101- (CGPoint)p4
     102{
     103    return p4;
     104}
     105
    86106@end
    87107
Note: See TracChangeset for help on using the changeset viewer.