| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 const WebSize& mainFrameDelta, | 128 const WebSize& mainFrameDelta, |
| 129 const WebFloatSize& elasticOverscrollDelta, | 129 const WebFloatSize& elasticOverscrollDelta, |
| 130 float pageScaleDelta, | 130 float pageScaleDelta, |
| 131 float topControlsShownRatioDelta) override; | 131 float topControlsShownRatioDelta) override; |
| 132 virtual void applyViewportDeltas( | 132 virtual void applyViewportDeltas( |
| 133 const WebFloatSize& pinchViewportDelta, | 133 const WebFloatSize& pinchViewportDelta, |
| 134 const WebFloatSize& mainFrameDelta, | 134 const WebFloatSize& mainFrameDelta, |
| 135 const WebFloatSize& elasticOverscrollDelta, | 135 const WebFloatSize& elasticOverscrollDelta, |
| 136 float pageScaleDelta, | 136 float pageScaleDelta, |
| 137 float topControlsShownRatioDelta) override; | 137 float topControlsShownRatioDelta) override; |
| 138 virtual void recordFrameTimingEvent(enum FrameTimingEventType, |
| 139 int64_t, const WebVector<std::pair<int, double>>&) override; |
| 138 virtual void mouseCaptureLost() override; | 140 virtual void mouseCaptureLost() override; |
| 139 virtual void setFocus(bool enable) override; | 141 virtual void setFocus(bool enable) override; |
| 140 virtual bool setComposition( | 142 virtual bool setComposition( |
| 141 const WebString& text, | 143 const WebString& text, |
| 142 const WebVector<WebCompositionUnderline>& underlines, | 144 const WebVector<WebCompositionUnderline>& underlines, |
| 143 int selectionStart, | 145 int selectionStart, |
| 144 int selectionEnd) override; | 146 int selectionEnd) override; |
| 145 virtual bool confirmComposition() override; | 147 virtual bool confirmComposition() override; |
| 146 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; | 148 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; |
| 147 virtual bool confirmComposition(const WebString& text) override; | 149 virtual bool confirmComposition(const WebString& text) override; |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 }; | 792 }; |
| 791 | 793 |
| 792 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 794 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 793 // We have no ways to check if the specified WebView is an instance of | 795 // We have no ways to check if the specified WebView is an instance of |
| 794 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 796 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 795 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 797 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 796 | 798 |
| 797 } // namespace blink | 799 } // namespace blink |
| 798 | 800 |
| 799 #endif | 801 #endif |
| OLD | NEW |