⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185677 in webkit


Ignore:
Timestamp:
Jun 17, 2015, 4:38:39 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Remove willSendEventToPlugin() from PluginController.h.
​https://bugs.webkit.org/show_bug.cgi?id=146054

Patch by Sungmann Cho <​sungmann.cho@navercorp.com> on 2015-06-17
Reviewed by Darin Adler.

PluginController::willSendEventToPlugin() was introduced by ​http://webkit.org/b/59124.
This method had been used only for WebKit2 on Windows, and no one uses it now.
So we can remove it.

No new tests, no behavior change.

  • PluginProcess/PluginControllerProxy.cpp:

(WebKit::PluginControllerProxy::willSendEventToPlugin): Deleted.

  • PluginProcess/PluginControllerProxy.h:
  • WebProcess/Plugins/PluginController.h:
  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::willSendEventToPlugin): Deleted.

  • WebProcess/Plugins/PluginView.h:
Location:
trunk/Source/WebKit2
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r185673 r185677  
     12015-06-17  Sungmann Cho  <sungmann.cho@navercorp.com>
     2
     3        Remove willSendEventToPlugin() from PluginController.h.
     4        https://bugs.webkit.org/show_bug.cgi?id=146054
     5
     6        Reviewed by Darin Adler.
     7
     8        PluginController::willSendEventToPlugin() was introduced by http://webkit.org/b/59124.
     9        This method had been used only for WebKit2 on Windows, and no one uses it now.
     10        So we can remove it.
     11
     12        No new tests, no behavior change.
     13
     14        * PluginProcess/PluginControllerProxy.cpp:
     15        (WebKit::PluginControllerProxy::willSendEventToPlugin): Deleted.
     16        * PluginProcess/PluginControllerProxy.h:
     17        * WebProcess/Plugins/PluginController.h:
     18        * WebProcess/Plugins/PluginView.cpp:
     19        (WebKit::PluginView::willSendEventToPlugin): Deleted.
     20        * WebProcess/Plugins/PluginView.h:
     21
    1222015-06-17  Tim Horton  <timothy_horton@apple.com>
    223
  • trunk/Source/WebKit2/PluginProcess/PluginControllerProxy.cpp

    r182892 r185677  
    326326}
    327327
    328 void PluginControllerProxy::willSendEventToPlugin()
    329 {
    330     // This is only used when running plugins in the web process.
    331     ASSERT_NOT_REACHED();
    332 }
    333 
    334328void PluginControllerProxy::didInitializePlugin()
    335329{
  • trunk/Source/WebKit2/PluginProcess/PluginControllerProxy.h

    r182892 r185677  
    9696    virtual bool isAcceleratedCompositingEnabled() override;
    9797    virtual void pluginProcessCrashed() override;
    98     virtual void willSendEventToPlugin() override;
    9998    virtual void didInitializePlugin() override;
    10099    virtual void didFailToInitializePlugin() override;
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginController.h

    r182892 r185677  
    9696    // Tells the controller that the plug-in process has crashed.
    9797    virtual void pluginProcessCrashed() = 0;
    98    
    99     // Tells the controller that we're about to dispatch an event to the plug-in.
    100     virtual void willSendEventToPlugin() = 0;
    101    
     98
    10299#if PLATFORM(COCOA)
    103100    // Tells the controller that the plug-in focus or window focus did change.
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp

    r185111 r185677  
    15161516}
    15171517
    1518 void PluginView::willSendEventToPlugin()
    1519 {
    1520     // If we're sending an event to a plug-in, we can't control how long the plug-in
    1521     // takes to process it (e.g. it may display a context menu), so we tell the UI process
    1522     // to stop the responsiveness timer in this case.
    1523     m_webPage->send(Messages::WebPageProxy::StopResponsivenessTimer());
    1524 }
    1525 
    15261518#if PLATFORM(COCOA)
    15271519void PluginView::pluginFocusOrWindowFocusChanged(bool pluginHasFocusAndWindowHasFocus)
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h

    r183372 r185677  
    208208    virtual bool isAcceleratedCompositingEnabled() override;
    209209    virtual void pluginProcessCrashed() override;
    210     virtual void willSendEventToPlugin() override;
    211210#if PLATFORM(COCOA)
    212211    virtual void pluginFocusOrWindowFocusChanged(bool pluginHasFocusAndWindowHasFocus) override;
Note: See TracChangeset for help on using the changeset viewer.