Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: Source/core/page/EventHandler.cpp

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutTheme.cpp ('k') | Source/core/rendering/RenderFileUploadControl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTheme.cpp ('k') | Source/core/rendering/RenderFileUploadControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698