| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
| 3 // in the LICENSE file. | 3 // in the LICENSE file. |
| 4 | 4 |
| 5 #include "web/WebViewFrameWidget.h" | 5 #include "web/WebViewFrameWidget.h" |
| 6 | 6 |
| 7 #include "web/WebInputMethodControllerImpl.h" | 7 #include "web/WebInputMethodControllerImpl.h" |
| 8 #include "web/WebLocalFrameImpl.h" | 8 #include "web/WebLocalFrameImpl.h" |
| 9 #include "web/WebViewImpl.h" | 9 #include "web/WebViewImpl.h" |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 | 113 |
| 114 void WebViewFrameWidget::setFocus(bool enable) { | 114 void WebViewFrameWidget::setFocus(bool enable) { |
| 115 return m_webView->setFocus(enable); | 115 return m_webView->setFocus(enable); |
| 116 } | 116 } |
| 117 | 117 |
| 118 WebRange WebViewFrameWidget::compositionRange() { | 118 WebRange WebViewFrameWidget::compositionRange() { |
| 119 return m_webView->compositionRange(); | 119 return m_webView->compositionRange(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 WebTextInputInfo WebViewFrameWidget::textInputInfo() { |
| 123 return m_webView->textInputInfo(); |
| 124 } |
| 125 |
| 126 WebTextInputType WebViewFrameWidget::textInputType() { |
| 127 return m_webView->textInputType(); |
| 128 } |
| 129 |
| 122 bool WebViewFrameWidget::selectionBounds(WebRect& anchor, | 130 bool WebViewFrameWidget::selectionBounds(WebRect& anchor, |
| 123 WebRect& focus) const { | 131 WebRect& focus) const { |
| 124 return m_webView->selectionBounds(anchor, focus); | 132 return m_webView->selectionBounds(anchor, focus); |
| 125 } | 133 } |
| 126 | 134 |
| 127 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start, | 135 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start, |
| 128 WebTextDirection& end) const { | 136 WebTextDirection& end) const { |
| 129 return m_webView->selectionTextDirection(start, end); | 137 return m_webView->selectionTextDirection(start, end); |
| 130 } | 138 } |
| 131 | 139 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 void WebViewFrameWidget::detachCompositorAnimationTimeline( | 243 void WebViewFrameWidget::detachCompositorAnimationTimeline( |
| 236 CompositorAnimationTimeline* compositorTimeline) { | 244 CompositorAnimationTimeline* compositorTimeline) { |
| 237 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
| 238 } | 246 } |
| 239 | 247 |
| 240 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 241 return m_webView->coreHitTestResultAt(point); | 249 return m_webView->coreHitTestResultAt(point); |
| 242 } | 250 } |
| 243 | 251 |
| 244 } // namespace blink | 252 } // namespace blink |
| OLD | NEW |