| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 123 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
| 124 void setCursorVisibilityState(bool isVisible) override; | 124 void setCursorVisibilityState(bool isVisible) override; |
| 125 bool hasTouchEventHandlersAt(const WebPoint&) override; | 125 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 126 | 126 |
| 127 void applyViewportDeltas( | 127 void applyViewportDeltas( |
| 128 const WebFloatSize& visualViewportDelta, | 128 const WebFloatSize& visualViewportDelta, |
| 129 const WebFloatSize& layoutViewportDelta, | 129 const WebFloatSize& layoutViewportDelta, |
| 130 const WebFloatSize& elasticOverscrollDelta, | 130 const WebFloatSize& elasticOverscrollDelta, |
| 131 float pageScaleDelta, | 131 float pageScaleDelta, |
| 132 float topControlsShownRatioDelta) override; | 132 float topControlsShownRatioDelta) override; |
| 133 void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVec
tor<WebFrameTimingEvent>&) override; | |
| 134 void mouseCaptureLost() override; | 133 void mouseCaptureLost() override; |
| 135 void setFocus(bool enable) override; | 134 void setFocus(bool enable) override; |
| 136 bool setComposition( | 135 bool setComposition( |
| 137 const WebString& text, | 136 const WebString& text, |
| 138 const WebVector<WebCompositionUnderline>& underlines, | 137 const WebVector<WebCompositionUnderline>& underlines, |
| 139 int selectionStart, | 138 int selectionStart, |
| 140 int selectionEnd) override; | 139 int selectionEnd) override; |
| 141 bool confirmComposition() override; | 140 bool confirmComposition() override; |
| 142 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; | 141 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; |
| 143 bool confirmComposition(const WebString& text) override; | 142 bool confirmComposition(const WebString& text) override; |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 }; | 754 }; |
| 756 | 755 |
| 757 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 756 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 758 // 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 |
| 759 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 758 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 761 | 760 |
| 762 } // namespace blink | 761 } // namespace blink |
| 763 | 762 |
| 764 #endif | 763 #endif |
| OLD | NEW |