| 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 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 | 1370 |
| 1371 if (RenderLayer* layer = layerForNode(hoveredNode.innerNode())) { | 1371 if (RenderLayer* layer = layerForNode(hoveredNode.innerNode())) { |
| 1372 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) | 1372 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) |
| 1373 layerScrollableArea->mouseMovedInContentArea(); | 1373 layerScrollableArea->mouseMovedInContentArea(); |
| 1374 } | 1374 } |
| 1375 | 1375 |
| 1376 if (FrameView* frameView = m_frame->view()) | 1376 if (FrameView* frameView = m_frame->view()) |
| 1377 frameView->mouseMovedInContentArea(); | 1377 frameView->mouseMovedInContentArea(); |
| 1378 | 1378 |
| 1379 hoveredNode.setToShadowHostIfInUserAgentShadowRoot(); | 1379 hoveredNode.setToShadowHostIfInUserAgentShadowRoot(); |
| 1380 page->chrome().mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); | 1380 page->chrome().mouseDidMoveOverElement(hoveredNode); |
| 1381 page->chrome().setToolTip(hoveredNode); | 1381 page->chrome().setToolTip(hoveredNode); |
| 1382 | 1382 |
| 1383 return result; | 1383 return result; |
| 1384 } | 1384 } |
| 1385 | 1385 |
| 1386 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) | 1386 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) |
| 1387 { | 1387 { |
| 1388 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); | 1388 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); |
| 1389 | 1389 |
| 1390 RefPtrWillBeRawPtr<FrameView> protector(m_frame->view()); | 1390 RefPtrWillBeRawPtr<FrameView> protector(m_frame->view()); |
| (...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3863 unsigned EventHandler::accessKeyModifiers() | 3863 unsigned EventHandler::accessKeyModifiers() |
| 3864 { | 3864 { |
| 3865 #if OS(MACOSX) | 3865 #if OS(MACOSX) |
| 3866 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3866 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
| 3867 #else | 3867 #else |
| 3868 return PlatformEvent::AltKey; | 3868 return PlatformEvent::AltKey; |
| 3869 #endif | 3869 #endif |
| 3870 } | 3870 } |
| 3871 | 3871 |
| 3872 } // namespace blink | 3872 } // namespace blink |
| OLD | NEW |