| 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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 return result; | 1376 return result; |
| 1377 | 1377 |
| 1378 if (Layer* layer = layerForNode(hoveredNode.innerNode())) { | 1378 if (Layer* layer = layerForNode(hoveredNode.innerNode())) { |
| 1379 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) | 1379 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) |
| 1380 layerScrollableArea->mouseMovedInContentArea(); | 1380 layerScrollableArea->mouseMovedInContentArea(); |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 if (FrameView* frameView = m_frame->view()) | 1383 if (FrameView* frameView = m_frame->view()) |
| 1384 frameView->mouseMovedInContentArea(); | 1384 frameView->mouseMovedInContentArea(); |
| 1385 | 1385 |
| 1386 hoveredNode.setToShadowHostIfInUserAgentShadowRoot(); | 1386 hoveredNode.setToShadowHostIfInClosedShadowRoot(); |
| 1387 page->chrome().mouseDidMoveOverElement(hoveredNode); | 1387 page->chrome().mouseDidMoveOverElement(hoveredNode); |
| 1388 page->chrome().setToolTip(hoveredNode); | 1388 page->chrome().setToolTip(hoveredNode); |
| 1389 | 1389 |
| 1390 return result; | 1390 return result; |
| 1391 } | 1391 } |
| 1392 | 1392 |
| 1393 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) | 1393 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) |
| 1394 { | 1394 { |
| 1395 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); | 1395 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); |
| 1396 | 1396 |
| (...skipping 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3898 unsigned EventHandler::accessKeyModifiers() | 3898 unsigned EventHandler::accessKeyModifiers() |
| 3899 { | 3899 { |
| 3900 #if OS(MACOSX) | 3900 #if OS(MACOSX) |
| 3901 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3901 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
| 3902 #else | 3902 #else |
| 3903 return PlatformEvent::AltKey; | 3903 return PlatformEvent::AltKey; |
| 3904 #endif | 3904 #endif |
| 3905 } | 3905 } |
| 3906 | 3906 |
| 3907 } // namespace blink | 3907 } // namespace blink |
| OLD | NEW |