| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 WebColor WebViewFrameWidget::backgroundColor() const | 225 WebColor WebViewFrameWidget::backgroundColor() const |
| 226 { | 226 { |
| 227 return m_webView->backgroundColor(); | 227 return m_webView->backgroundColor(); |
| 228 } | 228 } |
| 229 | 229 |
| 230 WebPagePopup* WebViewFrameWidget::pagePopup() const | 230 WebPagePopup* WebViewFrameWidget::pagePopup() const |
| 231 { | 231 { |
| 232 return m_webView->pagePopup(); | 232 return m_webView->pagePopup(); |
| 233 } | 233 } |
| 234 | 234 |
| 235 bool WebViewFrameWidget::getCompositionCharacterBounds(WebVector<WebRect>& bound
s) |
| 236 { |
| 237 return m_webView->getCompositionCharacterBounds(bounds); |
| 238 } |
| 239 |
| 240 void WebViewFrameWidget::applyReplacementRange(const WebRange& range) |
| 241 { |
| 242 m_webView->applyReplacementRange(range); |
| 243 } |
| 244 |
| 235 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) | 245 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) |
| 236 { | 246 { |
| 237 return m_webView->updateTopControlsState(constraints, current, animate); | 247 return m_webView->updateTopControlsState(constraints, current, animate); |
| 238 } | 248 } |
| 239 | 249 |
| 240 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te) | 250 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te) |
| 241 { | 251 { |
| 242 return m_webView->setVisibilityState(visibilityState, false); | 252 return m_webView->setVisibilityState(visibilityState, false); |
| 243 } | 253 } |
| 244 | 254 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 { | 291 { |
| 282 m_webView->attachCompositorAnimationTimeline(compositorTimeline); | 292 m_webView->attachCompositorAnimationTimeline(compositorTimeline); |
| 283 } | 293 } |
| 284 | 294 |
| 285 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) | 295 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) |
| 286 { | 296 { |
| 287 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 297 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
| 288 } | 298 } |
| 289 | 299 |
| 290 } // namespace blink | 300 } // namespace blink |
| OLD | NEW |