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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 void themeChanged() override; | 142 void themeChanged() override; |
143 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override; | 143 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override; |
144 void setCursorVisibilityState(bool isVisible) override; | 144 void setCursorVisibilityState(bool isVisible) override; |
145 bool hasTouchEventHandlersAt(const WebPoint&) override; | 145 bool hasTouchEventHandlersAt(const WebPoint&) override; |
146 | 146 |
147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
148 const WebFloatSize& layoutViewportDelta, | 148 const WebFloatSize& layoutViewportDelta, |
149 const WebFloatSize& elasticOverscrollDelta, | 149 const WebFloatSize& elasticOverscrollDelta, |
150 float pageScaleDelta, | 150 float pageScaleDelta, |
151 float browserControlsShownRatioDelta) override; | 151 float browserControlsShownRatioDelta) override; |
| 152 void recordWheelAndTouchScrollingCount(bool hasScrolledByWheel, |
| 153 bool hasScrolledByTouch) override; |
152 void mouseCaptureLost() override; | 154 void mouseCaptureLost() override; |
153 void setFocus(bool enable) override; | 155 void setFocus(bool enable) override; |
154 WebRange compositionRange() override; | 156 WebRange compositionRange() override; |
155 WebColor backgroundColor() const override; | 157 WebColor backgroundColor() const override; |
156 WebPagePopup* pagePopup() const override; | 158 WebPagePopup* pagePopup() const override; |
157 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 159 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
158 bool selectionTextDirection(WebTextDirection& start, | 160 bool selectionTextDirection(WebTextDirection& start, |
159 WebTextDirection& end) const override; | 161 WebTextDirection& end) const override; |
160 bool isSelectionAnchorFirst() const override; | 162 bool isSelectionAnchorFirst() const override; |
161 WebRange caretOrSelectionRange() override; | 163 WebRange caretOrSelectionRange() override; |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 744 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
743 }; | 745 }; |
744 | 746 |
745 // We have no ways to check if the specified WebView is an instance of | 747 // We have no ways to check if the specified WebView is an instance of |
746 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 748 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
747 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 749 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
748 | 750 |
749 } // namespace blink | 751 } // namespace blink |
750 | 752 |
751 #endif | 753 #endif |
OLD | NEW |