Changeset 57887 in webkit


Ignore:
Timestamp:
Apr 20, 2010 6:23:10 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-20 Stuart Morgan <stuartmorgan@chromium.org>

Reviewed by David Levin.

Remove a workaround in plugin cursor setting that was obsoleted by
the change in https://bugs.webkit.org/show_bug.cgi?id=35132
https://bugs.webkit.org/show_bug.cgi?id=37811

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::ChromeClientImpl): (WebKit::ChromeClientImpl::setCursor): (WebKit::ChromeClientImpl::setCursorForPlugin):
  • src/ChromeClientImpl.h:
Location:
trunk/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r57856 r57887  
     12010-04-20  Stuart Morgan  <stuartmorgan@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Remove a workaround in plugin cursor setting that was obsoleted by
     6        the change in https://bugs.webkit.org/show_bug.cgi?id=35132
     7        https://bugs.webkit.org/show_bug.cgi?id=37811
     8
     9        * src/ChromeClientImpl.cpp:
     10        (WebKit::ChromeClientImpl::ChromeClientImpl):
     11        (WebKit::ChromeClientImpl::setCursor):
     12        (WebKit::ChromeClientImpl::setCursorForPlugin):
     13        * src/ChromeClientImpl.h:
     14
    1152010-04-19  Ada Chan  <adachan@apple.com>
    216
  • trunk/WebKit/chromium/src/ChromeClientImpl.cpp

    r57014 r57887  
    103103    , m_menubarVisible(true)
    104104    , m_resizable(true)
    105     , m_ignoreNextSetCursor(false)
    106105{
    107106}
     
    643642void ChromeClientImpl::setCursor(const WebCursorInfo& cursor)
    644643{
    645     if (m_ignoreNextSetCursor) {
    646         m_ignoreNextSetCursor = false;
    647         return;
    648     }
    649 
    650644    if (m_webView->client())
    651645        m_webView->client()->didChangeCursor(cursor);
     
    655649{
    656650    setCursor(cursor);
    657 
    658     // Currently, Widget::setCursor is always called after this function in
    659     // EventHandler.cpp and since we don't want that we set a flag indicating
    660     // that the next SetCursor call is to be ignored.
    661     m_ignoreNextSetCursor = true;
    662651}
    663652
  • trunk/WebKit/chromium/src/ChromeClientImpl.h

    r56851 r57887  
    166166    bool m_menubarVisible;
    167167    bool m_resizable;
    168     // Set to true if the next SetCursor is to be ignored.
    169     bool m_ignoreNextSetCursor;
    170168};
    171169
Note: See TracChangeset for help on using the changeset viewer.