Skip to content

Commit

Permalink
Remove references to CPReadingModel
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=247016
rdar://101550960

Reviewed by Wenson Hsieh.

* Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
(-[WKPDFPluginAccessibilityObject readingModel]): Deleted.
Removed this unused method override.

Canonical link: https://commits.webkit.org/255986@main
  • Loading branch information
hortont424 committed Oct 25, 2022
1 parent 4694992 commit e67955a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h
Expand Up @@ -29,7 +29,6 @@

#import <Quartz/Quartz.h>

@class CPReadingModel;
@class PDFViewLayout;

typedef NS_ENUM(NSInteger, PDFLayerControllerCursorType) {
Expand Down Expand Up @@ -145,7 +144,6 @@ typedef NS_ENUM(NSInteger, PDFLayerControllerCursorType) {

// Accessibility

- (CPReadingModel *)readingModel;
- (id)accessibilityFocusedUIElement;
- (NSArray *)accessibilityAttributeNames;
- (BOOL)accessibilityIsAttributeSettable:(NSString *)attribute;
Expand Down
5 changes: 0 additions & 5 deletions Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm
Expand Up @@ -285,11 +285,6 @@ - (id)accessibilityAttributeValue:(NSString *)attribute forParameter:(id)paramet
return 0;
}

- (CPReadingModel *)readingModel
{
return [_pdfLayerController readingModel];
}

ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
- (NSArray *)accessibilityAttributeNames
ALLOW_DEPRECATED_IMPLEMENTATIONS_END
Expand Down

0 comments on commit e67955a

Please sign in to comment.