Changeset 214855 in webkit


Ignore:
Timestamp:
Apr 3, 2017 5:10:33 PM (7 years ago)
Author:
Simon Fraser
Message:

Allow MiniBrowser windows to receive local file drags again
https://bugs.webkit.org/show_bug.cgi?id=170422

Reviewed by Wenson Hsieh.

Adopt the new UIDelegate SPI to allow drops.

  • MiniBrowser/mac/WK2BrowserWindowController.m:

(-[WK2BrowserWindowController _webView:dragDestinationActionMaskForDraggingInfo:]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r214854 r214855  
     12017-04-03  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Allow MiniBrowser windows to receive local file drags again
     4        https://bugs.webkit.org/show_bug.cgi?id=170422
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        Adopt the new UIDelegate SPI to allow drops.
     9
     10        * MiniBrowser/mac/WK2BrowserWindowController.m:
     11        (-[WK2BrowserWindowController _webView:dragDestinationActionMaskForDraggingInfo:]):
     12
    1132017-04-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
    214
  • trunk/Tools/MiniBrowser/mac/WK2BrowserWindowController.m

    r213864 r214855  
    3535#import <WebKit/WKPreferencesPrivate.h>
    3636#import <WebKit/WKUIDelegate.h>
     37#import <WebKit/WKUIDelegatePrivate.h>
    3738#import <WebKit/WKWebViewConfigurationPrivate.h>
    3839#import <WebKit/WKWebViewPrivate.h>
     
    515516}
    516517
     518- (WKDragDestinationAction)_webView:(WKWebView *)webView dragDestinationActionMaskForDraggingInfo:(id)draggingInfo
     519{
     520    return WKDragDestinationActionAny;
     521}
     522
    517523- (void)updateTextFieldFromURL:(NSURL *)URL
    518524{
Note: See TracChangeset for help on using the changeset viewer.