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/WebLocalFrameImpl.h" | 7 #include "web/WebLocalFrameImpl.h" |
8 #include "web/WebViewImpl.h" | 8 #include "web/WebViewImpl.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 bool WebViewFrameWidget::confirmComposition() | 140 bool WebViewFrameWidget::confirmComposition() |
141 { | 141 { |
142 return m_webView->confirmComposition(); | 142 return m_webView->confirmComposition(); |
143 } | 143 } |
144 | 144 |
145 bool WebViewFrameWidget::confirmComposition(ConfirmCompositionBehavior selection
Behavior) | 145 bool WebViewFrameWidget::confirmComposition(ConfirmCompositionBehavior selection
Behavior) |
146 { | 146 { |
147 return m_webView->confirmComposition(selectionBehavior); | 147 return m_webView->confirmComposition(selectionBehavior); |
148 } | 148 } |
149 | 149 |
150 bool WebViewFrameWidget::confirmComposition(const WebString& text) | 150 bool WebViewFrameWidget::confirmComposition(const WebString& text, int newCursor
Position) |
151 { | 151 { |
152 return m_webView->confirmComposition(text); | 152 return m_webView->confirmComposition(text, newCursorPosition); |
153 } | 153 } |
154 | 154 |
155 bool WebViewFrameWidget::compositionRange(size_t* location, size_t* length) | 155 bool WebViewFrameWidget::compositionRange(size_t* location, size_t* length) |
156 { | 156 { |
157 return m_webView->compositionRange(location, length); | 157 return m_webView->compositionRange(location, length); |
158 } | 158 } |
159 | 159 |
160 WebTextInputInfo WebViewFrameWidget::textInputInfo() | 160 WebTextInputInfo WebViewFrameWidget::textInputInfo() |
161 { | 161 { |
162 return m_webView->textInputInfo(); | 162 return m_webView->textInputInfo(); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 { | 276 { |
277 m_webView->attachCompositorAnimationTimeline(compositorTimeline); | 277 m_webView->attachCompositorAnimationTimeline(compositorTimeline); |
278 } | 278 } |
279 | 279 |
280 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) | 280 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) |
281 { | 281 { |
282 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 282 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
283 } | 283 } |
284 | 284 |
285 } // namespace blink | 285 } // namespace blink |
OLD | NEW |