| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 WebPagePopup* WebViewFrameWidget::pagePopup() const { | 168 WebPagePopup* WebViewFrameWidget::pagePopup() const { |
| 169 return m_webView->pagePopup(); | 169 return m_webView->pagePopup(); |
| 170 } | 170 } |
| 171 | 171 |
| 172 bool WebViewFrameWidget::getCompositionCharacterBounds( | 172 bool WebViewFrameWidget::getCompositionCharacterBounds( |
| 173 WebVector<WebRect>& bounds) { | 173 WebVector<WebRect>& bounds) { |
| 174 return m_webView->getCompositionCharacterBounds(bounds); | 174 return m_webView->getCompositionCharacterBounds(bounds); |
| 175 } | 175 } |
| 176 | 176 |
| 177 void WebViewFrameWidget::applyReplacementRange(const WebRange& range) { | |
| 178 m_webView->applyReplacementRange(range); | |
| 179 } | |
| 180 | |
| 181 void WebViewFrameWidget::updateBrowserControlsState( | 177 void WebViewFrameWidget::updateBrowserControlsState( |
| 182 WebBrowserControlsState constraints, | 178 WebBrowserControlsState constraints, |
| 183 WebBrowserControlsState current, | 179 WebBrowserControlsState current, |
| 184 bool animate) { | 180 bool animate) { |
| 185 return m_webView->updateBrowserControlsState(constraints, current, animate); | 181 return m_webView->updateBrowserControlsState(constraints, current, animate); |
| 186 } | 182 } |
| 187 | 183 |
| 188 void WebViewFrameWidget::setVisibilityState( | 184 void WebViewFrameWidget::setVisibilityState( |
| 189 WebPageVisibilityState visibilityState) { | 185 WebPageVisibilityState visibilityState) { |
| 190 return m_webView->setVisibilityState(visibilityState, false); | 186 return m_webView->setVisibilityState(visibilityState, false); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 229 |
| 234 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { | 230 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { |
| 235 return m_webView->animationHost(); | 231 return m_webView->animationHost(); |
| 236 } | 232 } |
| 237 | 233 |
| 238 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 234 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 239 return m_webView->coreHitTestResultAt(point); | 235 return m_webView->coreHitTestResultAt(point); |
| 240 } | 236 } |
| 241 | 237 |
| 242 } // namespace blink | 238 } // namespace blink |
| OLD | NEW |