Changeset 148128 in webkit
- Timestamp:
- Apr 10, 2013 12:38:07 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148124 r148128 1 2013-04-10 Andreas Kling <akling@apple.com> 2 3 Disallow programmatic movement of the browser window while user gestures are in progress. 4 <http://webkit.org/b/114271> 5 <rdar://problem/13226530> 6 7 Reviewed by Oliver Hunt. 8 9 * page/DOMWindow.cpp: 10 (WebCore::DOMWindow::moveBy): 11 (WebCore::DOMWindow::moveTo): 12 (WebCore::DOMWindow::resizeBy): 13 (WebCore::DOMWindow::resizeTo): 14 1 15 2013-04-10 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Source/WebCore/page/DOMWindow.cpp
r147554 r148128 1449 1449 void DOMWindow::moveBy(float x, float y) const 1450 1450 { 1451 if (UserGestureIndicator::processingUserGesture()) 1452 return; 1453 1451 1454 if (!m_frame) 1452 1455 return; … … 1468 1471 void DOMWindow::moveTo(float x, float y) const 1469 1472 { 1473 if (UserGestureIndicator::processingUserGesture()) 1474 return; 1475 1470 1476 if (!m_frame) 1471 1477 return; … … 1489 1495 void DOMWindow::resizeBy(float x, float y) const 1490 1496 { 1497 if (UserGestureIndicator::processingUserGesture()) 1498 return; 1499 1491 1500 if (!m_frame) 1492 1501 return; … … 1507 1516 void DOMWindow::resizeTo(float width, float height) const 1508 1517 { 1518 if (UserGestureIndicator::processingUserGesture()) 1519 return; 1520 1509 1521 if (!m_frame) 1510 1522 return;
Note: See TracChangeset
for help on using the changeset viewer.