OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 startPageScaleAnimation(scroll, false, scale, multipleTargetsZoomAnimationDu
rationInSeconds); | 1433 startPageScaleAnimation(scroll, false, scale, multipleTargetsZoomAnimationDu
rationInSeconds); |
1434 return true; | 1434 return true; |
1435 } | 1435 } |
1436 | 1436 |
1437 void WebViewImpl::hasTouchEventHandlers(bool hasTouchHandlers) | 1437 void WebViewImpl::hasTouchEventHandlers(bool hasTouchHandlers) |
1438 { | 1438 { |
1439 if (m_client) | 1439 if (m_client) |
1440 m_client->hasTouchEventHandlers(hasTouchHandlers); | 1440 m_client->hasTouchEventHandlers(hasTouchHandlers); |
1441 } | 1441 } |
1442 | 1442 |
| 1443 void WebViewImpl::hasTouchMoveEventHandlers(bool hasTouchMoveHandlers) |
| 1444 { |
| 1445 if (m_client) |
| 1446 m_client->hasTouchMoveEventHandlers(hasTouchMoveHandlers); |
| 1447 } |
| 1448 |
1443 bool WebViewImpl::hasTouchEventHandlersAt(const WebPoint& point) | 1449 bool WebViewImpl::hasTouchEventHandlersAt(const WebPoint& point) |
1444 { | 1450 { |
1445 // FIXME: Implement this. Note that the point must be divided by pageScaleFa
ctor. | 1451 // FIXME: Implement this. Note that the point must be divided by pageScaleFa
ctor. |
1446 return true; | 1452 return true; |
1447 } | 1453 } |
1448 | 1454 |
1449 #if !OS(MACOSX) | 1455 #if !OS(MACOSX) |
1450 // Mac has no way to open a context menu based on a keyboard event. | 1456 // Mac has no way to open a context menu based on a keyboard event. |
1451 bool WebViewImpl::sendContextMenuEvent(const WebKeyboardEvent& event) | 1457 bool WebViewImpl::sendContextMenuEvent(const WebKeyboardEvent& event) |
1452 { | 1458 { |
(...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4412 if (m_pageColorOverlay) | 4418 if (m_pageColorOverlay) |
4413 m_pageColorOverlay->update(); | 4419 m_pageColorOverlay->update(); |
4414 if (InspectorOverlayImpl* overlay = inspectorOverlay()) { | 4420 if (InspectorOverlayImpl* overlay = inspectorOverlay()) { |
4415 PageOverlay* inspectorPageOverlay = overlay->pageOverlay(); | 4421 PageOverlay* inspectorPageOverlay = overlay->pageOverlay(); |
4416 if (inspectorPageOverlay) | 4422 if (inspectorPageOverlay) |
4417 inspectorPageOverlay->update(); | 4423 inspectorPageOverlay->update(); |
4418 } | 4424 } |
4419 } | 4425 } |
4420 | 4426 |
4421 } // namespace blink | 4427 } // namespace blink |
OLD | NEW |