| 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 Page* page = m_frame->page(); | 1103 Page* page = m_frame->page(); |
| 1104 if (!page) | 1104 if (!page) |
| 1105 return result; | 1105 return result; |
| 1106 | 1106 |
| 1107 if (RenderLayer* layer = layerForNode(hoveredNode.innerNode())) { | 1107 if (RenderLayer* layer = layerForNode(hoveredNode.innerNode())) { |
| 1108 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) | 1108 if (ScrollableArea* layerScrollableArea = associatedScrollableArea(layer
)) |
| 1109 layerScrollableArea->mouseMovedInContentArea(); | 1109 layerScrollableArea->mouseMovedInContentArea(); |
| 1110 } | 1110 } |
| 1111 | 1111 |
| 1112 page->chrome().mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); | 1112 page->chrome().mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); |
| 1113 page->chrome().setToolTip(hoveredNode); | |
| 1114 | 1113 |
| 1115 return result; | 1114 return result; |
| 1116 } | 1115 } |
| 1117 | 1116 |
| 1118 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) | 1117 void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) |
| 1119 { | 1118 { |
| 1120 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); | 1119 TRACE_EVENT0("blink", "EventHandler::handleMouseLeaveEvent"); |
| 1121 | 1120 |
| 1122 RefPtr<FrameView> protector(m_frame->view()); | 1121 RefPtr<FrameView> protector(m_frame->view()); |
| 1123 handleMouseMoveOrLeaveEvent(event); | 1122 handleMouseMoveOrLeaveEvent(event); |
| (...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2611 unsigned EventHandler::accessKeyModifiers() | 2610 unsigned EventHandler::accessKeyModifiers() |
| 2612 { | 2611 { |
| 2613 #if OS(MACOSX) | 2612 #if OS(MACOSX) |
| 2614 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 2613 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
| 2615 #else | 2614 #else |
| 2616 return PlatformEvent::AltKey; | 2615 return PlatformEvent::AltKey; |
| 2617 #endif | 2616 #endif |
| 2618 } | 2617 } |
| 2619 | 2618 |
| 2620 } // namespace blink | 2619 } // namespace blink |
| OLD | NEW |