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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 124 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
125 void setCursorVisibilityState(bool isVisible) override; | 125 void setCursorVisibilityState(bool isVisible) override; |
126 bool hasTouchEventHandlersAt(const WebPoint&) override; | 126 bool hasTouchEventHandlersAt(const WebPoint&) override; |
127 | 127 |
128 void applyViewportDeltas( | 128 void applyViewportDeltas( |
129 const WebFloatSize& visualViewportDelta, | 129 const WebFloatSize& visualViewportDelta, |
130 const WebFloatSize& layoutViewportDelta, | 130 const WebFloatSize& layoutViewportDelta, |
131 const WebFloatSize& elasticOverscrollDelta, | 131 const WebFloatSize& elasticOverscrollDelta, |
132 float pageScaleDelta, | 132 float pageScaleDelta, |
133 float topControlsShownRatioDelta) override; | 133 float topControlsShownRatioDelta) override; |
| 134 |
| 135 void applyCompositorMutations(const WebCompositorMutations&) override; |
134 void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVec
tor<WebFrameTimingEvent>&) override; | 136 void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVec
tor<WebFrameTimingEvent>&) override; |
135 void mouseCaptureLost() override; | 137 void mouseCaptureLost() override; |
136 void setFocus(bool enable) override; | 138 void setFocus(bool enable) override; |
137 bool setComposition( | 139 bool setComposition( |
138 const WebString& text, | 140 const WebString& text, |
139 const WebVector<WebCompositionUnderline>& underlines, | 141 const WebVector<WebCompositionUnderline>& underlines, |
140 int selectionStart, | 142 int selectionStart, |
141 int selectionEnd) override; | 143 int selectionEnd) override; |
142 bool confirmComposition() override; | 144 bool confirmComposition() override; |
143 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; | 145 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 }; | 778 }; |
777 | 779 |
778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 780 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
779 // We have no ways to check if the specified WebView is an instance of | 781 // We have no ways to check if the specified WebView is an instance of |
780 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 782 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 783 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
782 | 784 |
783 } // namespace blink | 785 } // namespace blink |
784 | 786 |
785 #endif | 787 #endif |
OLD | NEW |