| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 } | 328 } |
| 329 | 329 |
| 330 // Returns the main frame associated with this view. This may be null when | 330 // Returns the main frame associated with this view. This may be null when |
| 331 // the page is shutting down, but will be valid at all other times. | 331 // the page is shutting down, but will be valid at all other times. |
| 332 WebLocalFrameImpl* mainFrameImpl() const; | 332 WebLocalFrameImpl* mainFrameImpl() const; |
| 333 | 333 |
| 334 // Event related methods: | 334 // Event related methods: |
| 335 void mouseContextMenu(const WebMouseEvent&); | 335 void mouseContextMenu(const WebMouseEvent&); |
| 336 void mouseDoubleClick(const WebMouseEvent&); | 336 void mouseDoubleClick(const WebMouseEvent&); |
| 337 | 337 |
| 338 bool detectContentOnTouch( | |
| 339 const GestureEventWithHitTestResults& targetedEvent); | |
| 340 bool startPageScaleAnimation(const IntPoint& targetPosition, | 338 bool startPageScaleAnimation(const IntPoint& targetPosition, |
| 341 bool useAnchor, | 339 bool useAnchor, |
| 342 float newScale, | 340 float newScale, |
| 343 double durationInSeconds); | 341 double durationInSeconds); |
| 344 | 342 |
| 345 // WebGestureCurveTarget implementation for fling. | 343 // WebGestureCurveTarget implementation for fling. |
| 346 bool scrollBy(const WebFloatSize& delta, | 344 bool scrollBy(const WebFloatSize& delta, |
| 347 const WebFloatSize& velocity) override; | 345 const WebFloatSize& velocity) override; |
| 348 | 346 |
| 349 // Handles context menu events orignated via the the keyboard. These | 347 // Handles context menu events orignated via the the keyboard. These |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 754 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 757 }; | 755 }; |
| 758 | 756 |
| 759 // We have no ways to check if the specified WebView is an instance of | 757 // We have no ways to check if the specified WebView is an instance of |
| 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 758 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 762 | 760 |
| 763 } // namespace blink | 761 } // namespace blink |
| 764 | 762 |
| 765 #endif | 763 #endif |
| OLD | NEW |