| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 WebPagePopup* WebViewFrameWidget::pagePopup() const | 228 WebPagePopup* WebViewFrameWidget::pagePopup() const |
| 229 { | 229 { |
| 230 return m_webView->pagePopup(); | 230 return m_webView->pagePopup(); |
| 231 } | 231 } |
| 232 | 232 |
| 233 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) | 233 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) |
| 234 { | 234 { |
| 235 return m_webView->updateTopControlsState(constraints, current, animate); | 235 return m_webView->updateTopControlsState(constraints, current, animate); |
| 236 } | 236 } |
| 237 | 237 |
| 238 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) | 238 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te) |
| 239 { | 239 { |
| 240 return m_webView->setVisibilityState(visibilityState, isInitialState); | 240 return m_webView->setVisibilityState(visibilityState, false); |
| 241 } | 241 } |
| 242 | 242 |
| 243 void WebViewFrameWidget::setIsTransparent(bool isTransparent) | 243 void WebViewFrameWidget::setIsTransparent(bool isTransparent) |
| 244 { | 244 { |
| 245 m_webView->setIsTransparent(isTransparent); | 245 m_webView->setIsTransparent(isTransparent); |
| 246 } | 246 } |
| 247 | 247 |
| 248 bool WebViewFrameWidget::isTransparent() const | 248 bool WebViewFrameWidget::isTransparent() const |
| 249 { | 249 { |
| 250 return m_webView->isTransparent(); | 250 return m_webView->isTransparent(); |
| 251 } | 251 } |
| 252 | 252 |
| 253 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) | 253 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) |
| 254 { | 254 { |
| 255 m_webView->setBaseBackgroundColor(color); | 255 m_webView->setBaseBackgroundColor(color); |
| 256 } | 256 } |
| 257 | 257 |
| 258 void WebViewFrameWidget::scheduleAnimation() | 258 void WebViewFrameWidget::scheduleAnimation() |
| 259 { | 259 { |
| 260 m_webView->scheduleAnimation(); | 260 m_webView->scheduleAnimation(); |
| 261 } | 261 } |
| 262 | 262 |
| 263 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() | 263 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() |
| 264 { | 264 { |
| 265 return m_webView->createCompositorProxyClient(); | 265 return m_webView->createCompositorProxyClient(); |
| 266 } | 266 } |
| 267 | 267 |
| 268 } // namespace blink | 268 } // namespace blink |
| OLD | NEW |