| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 } | 385 } |
| 386 | 386 |
| 387 node->dispatchMouseEvent( | 387 node->dispatchMouseEvent( |
| 388 PlatformMouseEventBuilder( | 388 PlatformMouseEventBuilder( |
| 389 m_localRoot->frameView(), | 389 m_localRoot->frameView(), |
| 390 static_cast<const WebMouseEvent&>(inputEvent)), | 390 static_cast<const WebMouseEvent&>(inputEvent)), |
| 391 eventType, static_cast<const WebMouseEvent&>(inputEvent).clickCount); | 391 eventType, static_cast<const WebMouseEvent&>(inputEvent).clickCount); |
| 392 return WebInputEventResult::HandledSystem; | 392 return WebInputEventResult::HandledSystem; |
| 393 } | 393 } |
| 394 | 394 |
| 395 return PageWidgetDelegate::handleInputEvent(*this, inputEvent, | 395 return PageWidgetDelegate::handleInputEvent( |
| 396 m_localRoot->frame()); | 396 *this, WebCoalescedInputEvent(inputEvent), m_localRoot->frame()); |
| 397 } | 397 } |
| 398 | 398 |
| 399 void WebFrameWidgetImpl::setCursorVisibilityState(bool isVisible) { | 399 void WebFrameWidgetImpl::setCursorVisibilityState(bool isVisible) { |
| 400 page()->setIsCursorVisible(isVisible); | 400 page()->setIsCursorVisible(isVisible); |
| 401 } | 401 } |
| 402 | 402 |
| 403 bool WebFrameWidgetImpl::hasTouchEventHandlersAt(const WebPoint& point) { | 403 bool WebFrameWidgetImpl::hasTouchEventHandlersAt(const WebPoint& point) { |
| 404 // FIXME: Implement this. Note that the point must be divided by | 404 // FIXME: Implement this. Note that the point must be divided by |
| 405 // pageScaleFactor. | 405 // pageScaleFactor. |
| 406 return true; | 406 return true; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 return nullptr; | 1150 return nullptr; |
| 1151 } | 1151 } |
| 1152 | 1152 |
| 1153 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { | 1153 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { |
| 1154 if (!m_imeAcceptEvents) | 1154 if (!m_imeAcceptEvents) |
| 1155 return nullptr; | 1155 return nullptr; |
| 1156 return focusedLocalFrameInWidget(); | 1156 return focusedLocalFrameInWidget(); |
| 1157 } | 1157 } |
| 1158 | 1158 |
| 1159 } // namespace blink | 1159 } // namespace blink |
| OLD | NEW |