| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) | 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 if (FrameView* frameView = m_frame->view()) { | 1431 if (FrameView* frameView = m_frame->view()) { |
| 1432 if (frameView->containsScrollableArea(layer)) | 1432 if (frameView->containsScrollableArea(layer)) |
| 1433 layer->mouseMovedInContentArea(); | 1433 layer->mouseMovedInContentArea(); |
| 1434 } | 1434 } |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 if (FrameView* frameView = m_frame->view()) | 1437 if (FrameView* frameView = m_frame->view()) |
| 1438 frameView->mouseMovedInContentArea(); | 1438 frameView->mouseMovedInContentArea(); |
| 1439 | 1439 |
| 1440 hoveredNode.setToShadowHostIfInUserAgentShadowRoot(); | 1440 hoveredNode.setToShadowHostIfInUserAgentShadowRoot(); |
| 1441 page->chrome()->mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); | 1441 page->chrome().mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); |
| 1442 page->chrome()->setToolTip(hoveredNode); | 1442 page->chrome().setToolTip(hoveredNode); |
| 1443 | 1443 |
| 1444 return result; | 1444 return result; |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 bool EventHandler::passMouseMovedEventToScrollbars(const PlatformMouseEvent& eve
nt) | 1447 bool EventHandler::passMouseMovedEventToScrollbars(const PlatformMouseEvent& eve
nt) |
| 1448 { | 1448 { |
| 1449 HitTestResult hoveredNode; | 1449 HitTestResult hoveredNode; |
| 1450 return handleMouseMoveEvent(event, &hoveredNode, true); | 1450 return handleMouseMoveEvent(event, &hoveredNode, true); |
| 1451 } | 1451 } |
| 1452 | 1452 |
| (...skipping 2431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3884 unsigned EventHandler::accessKeyModifiers() | 3884 unsigned EventHandler::accessKeyModifiers() |
| 3885 { | 3885 { |
| 3886 #if OS(DARWIN) | 3886 #if OS(DARWIN) |
| 3887 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3887 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
| 3888 #else | 3888 #else |
| 3889 return PlatformEvent::AltKey; | 3889 return PlatformEvent::AltKey; |
| 3890 #endif | 3890 #endif |
| 3891 } | 3891 } |
| 3892 | 3892 |
| 3893 } // namespace WebCore | 3893 } // namespace WebCore |
| OLD | NEW |