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 | |
130 bool WebViewFrameWidget::selectionBounds(WebRect& anchor, | 122 bool WebViewFrameWidget::selectionBounds(WebRect& anchor, |
131 WebRect& focus) const { | 123 WebRect& focus) const { |
132 return m_webView->selectionBounds(anchor, focus); | 124 return m_webView->selectionBounds(anchor, focus); |
133 } | 125 } |
134 | 126 |
135 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start, | 127 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start, |
136 WebTextDirection& end) const { | 128 WebTextDirection& end) const { |
137 return m_webView->selectionTextDirection(start, end); | 129 return m_webView->selectionTextDirection(start, end); |
138 } | 130 } |
139 | 131 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 void WebViewFrameWidget::detachCompositorAnimationTimeline( | 235 void WebViewFrameWidget::detachCompositorAnimationTimeline( |
244 CompositorAnimationTimeline* compositorTimeline) { | 236 CompositorAnimationTimeline* compositorTimeline) { |
245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 237 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
246 } | 238 } |
247 | 239 |
248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 240 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
249 return m_webView->coreHitTestResultAt(point); | 241 return m_webView->coreHitTestResultAt(point); |
250 } | 242 } |
251 | 243 |
252 } // namespace blink | 244 } // namespace blink |
OLD | NEW |