Changeset 57887 in webkit
- Timestamp:
- Apr 20, 2010 6:23:10 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r57856 r57887 1 2010-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 1 15 2010-04-19 Ada Chan <adachan@apple.com> 2 16 -
trunk/WebKit/chromium/src/ChromeClientImpl.cpp
r57014 r57887 103 103 , m_menubarVisible(true) 104 104 , m_resizable(true) 105 , m_ignoreNextSetCursor(false)106 105 { 107 106 } … … 643 642 void ChromeClientImpl::setCursor(const WebCursorInfo& cursor) 644 643 { 645 if (m_ignoreNextSetCursor) {646 m_ignoreNextSetCursor = false;647 return;648 }649 650 644 if (m_webView->client()) 651 645 m_webView->client()->didChangeCursor(cursor); … … 655 649 { 656 650 setCursor(cursor); 657 658 // Currently, Widget::setCursor is always called after this function in659 // EventHandler.cpp and since we don't want that we set a flag indicating660 // that the next SetCursor call is to be ignored.661 m_ignoreNextSetCursor = true;662 651 } 663 652 -
trunk/WebKit/chromium/src/ChromeClientImpl.h
r56851 r57887 166 166 bool m_menubarVisible; 167 167 bool m_resizable; 168 // Set to true if the next SetCursor is to be ignored.169 bool m_ignoreNextSetCursor;170 168 }; 171 169
Note: See TracChangeset
for help on using the changeset viewer.