| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // is removed. | 119 // is removed. |
| 120 virtual void applyViewportDeltas( | 120 virtual void applyViewportDeltas( |
| 121 const WebSize& scrollDelta, | 121 const WebSize& scrollDelta, |
| 122 float pageScaleDelta, | 122 float pageScaleDelta, |
| 123 float topControlsDelta) override; | 123 float topControlsDelta) override; |
| 124 virtual void applyViewportDeltas( | 124 virtual void applyViewportDeltas( |
| 125 const WebSize& pinchViewportDelta, | 125 const WebSize& pinchViewportDelta, |
| 126 const WebSize& mainFrameDelta, | 126 const WebSize& mainFrameDelta, |
| 127 float pageScaleDelta, | 127 float pageScaleDelta, |
| 128 float topControlsDelta) override; | 128 float topControlsDelta) override; |
| 129 virtual void applyTeleportValues(const WebVector<WebTeleportValue>&) overrid
e; |
| 129 virtual void mouseCaptureLost() override; | 130 virtual void mouseCaptureLost() override; |
| 130 virtual void setFocus(bool enable) override; | 131 virtual void setFocus(bool enable) override; |
| 131 virtual bool setComposition( | 132 virtual bool setComposition( |
| 132 const WebString& text, | 133 const WebString& text, |
| 133 const WebVector<WebCompositionUnderline>& underlines, | 134 const WebVector<WebCompositionUnderline>& underlines, |
| 134 int selectionStart, | 135 int selectionStart, |
| 135 int selectionEnd) override; | 136 int selectionEnd) override; |
| 136 virtual bool confirmComposition() override; | 137 virtual bool confirmComposition() override; |
| 137 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; | 138 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; |
| 138 virtual bool confirmComposition(const WebString& text) override; | 139 virtual bool confirmComposition(const WebString& text) override; |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 float m_topControlsLayoutHeight; | 753 float m_topControlsLayoutHeight; |
| 753 }; | 754 }; |
| 754 | 755 |
| 755 // We have no ways to check if the specified WebView is an instance of | 756 // We have no ways to check if the specified WebView is an instance of |
| 756 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 757 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 758 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 758 | 759 |
| 759 } // namespace blink | 760 } // namespace blink |
| 760 | 761 |
| 761 #endif | 762 #endif |
| OLD | NEW |