Changeset 235324 in webkit


Ignore:
Timestamp:
Aug 24, 2018 12:10:19 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Follow up to r235323
https://bugs.webkit.org/show_bug.cgi?id=188923
<rdar://problem/34657861>

  • UIProcess/API/C/mac/WKInspectorPrivateMac.h:
  • UIProcess/mac/WebInspectorProxyMac.mm:

(-[WKWebInspectorProxyObjCAdapter inspector]):
A _WKInspector * accessor in the WKWebInspectorProxyObjCAdapter is nice, too.

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r235323 r235324  
     12018-08-24  Alex Christensen  <achristensen@webkit.org>
     2
     3        Follow up to r235323
     4        https://bugs.webkit.org/show_bug.cgi?id=188923
     5        <rdar://problem/34657861>
     6
     7        * UIProcess/API/C/mac/WKInspectorPrivateMac.h:
     8        * UIProcess/mac/WebInspectorProxyMac.mm:
     9        (-[WKWebInspectorProxyObjCAdapter inspector]):
     10        A _WKInspector * accessor in the WKWebInspectorProxyObjCAdapter is nice, too.
     11
    1122018-08-24  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/WebKit/UIProcess/API/C/mac/WKInspectorPrivateMac.h

    r223771 r235324  
    3232#import <WebKit/WKInspector.h>
    3333
     34@class _WKInspector;
     35
    3436#ifdef __cplusplus
    3537extern "C" {
     
    4345
    4446@property (readonly) WKInspectorRef inspectorRef;
     47@property (readonly) _WKInspector *inspector;
    4548
    4649@end
  • trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm

    r235265 r235324  
    3737#import "WebPageGroup.h"
    3838#import "WebPageProxy.h"
     39#import "_WKInspectorInternal.h"
    3940#import <WebCore/InspectorFrontendClientLocal.h>
    4041#import <WebCore/LocalizedStrings.h>
     
    6465{
    6566    return toAPI(_inspectorProxy);
     67}
     68
     69- (_WKInspector *)inspector
     70{
     71    if (_inspectorProxy)
     72        return wrapper(*_inspectorProxy);
     73    return nil;
    6674}
    6775
Note: See TracChangeset for help on using the changeset viewer.