| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 void mouseContextMenu(const WebMouseEvent&); | 325 void mouseContextMenu(const WebMouseEvent&); |
| 326 void mouseDoubleClick(const WebMouseEvent&); | 326 void mouseDoubleClick(const WebMouseEvent&); |
| 327 | 327 |
| 328 bool detectContentOnTouch( | 328 bool detectContentOnTouch( |
| 329 const GestureEventWithHitTestResults& targetedEvent); | 329 const GestureEventWithHitTestResults& targetedEvent); |
| 330 bool startPageScaleAnimation(const IntPoint& targetPosition, | 330 bool startPageScaleAnimation(const IntPoint& targetPosition, |
| 331 bool useAnchor, | 331 bool useAnchor, |
| 332 float newScale, | 332 float newScale, |
| 333 double durationInSeconds); | 333 double durationInSeconds); |
| 334 | 334 |
| 335 void hasTouchEventHandlers(bool); |
| 336 |
| 335 // WebGestureCurveTarget implementation for fling. | 337 // WebGestureCurveTarget implementation for fling. |
| 336 bool scrollBy(const WebFloatSize& delta, | 338 bool scrollBy(const WebFloatSize& delta, |
| 337 const WebFloatSize& velocity) override; | 339 const WebFloatSize& velocity) override; |
| 338 | 340 |
| 339 // Handles context menu events orignated via the the keyboard. These | 341 // Handles context menu events orignated via the the keyboard. These |
| 340 // include the VK_APPS virtual key and the Shift+F10 combine. Code is | 342 // include the VK_APPS virtual key and the Shift+F10 combine. Code is |
| 341 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM | 343 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM |
| 342 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only | 344 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only |
| 343 // significant change in this function is the code to convert from a | 345 // significant change in this function is the code to convert from a |
| 344 // Keyboard event to the Right Mouse button down event. | 346 // Keyboard event to the Right Mouse button down event. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 740 }; | 742 }; |
| 741 | 743 |
| 742 // We have no ways to check if the specified WebView is an instance of | 744 // We have no ways to check if the specified WebView is an instance of |
| 743 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 745 | 747 |
| 746 } // namespace blink | 748 } // namespace blink |
| 747 | 749 |
| 748 #endif | 750 #endif |
| OLD | NEW |