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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) | 258 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) |
259 { | 259 { |
260 return m_webView->updateTopControlsState(constraints, current, animate); | 260 return m_webView->updateTopControlsState(constraints, current, animate); |
261 } | 261 } |
262 | 262 |
263 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) | 263 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) |
264 { | 264 { |
265 return m_webView->setVisibilityState(visibilityState, isInitialState); | 265 return m_webView->setVisibilityState(visibilityState, isInitialState); |
266 } | 266 } |
267 | 267 |
| 268 void WebViewFrameWidget::setIsTransparent(bool isTransparent) |
| 269 { |
| 270 m_webView->setIsTransparent(isTransparent); |
| 271 } |
| 272 |
| 273 bool WebViewFrameWidget::isTransparent() const |
| 274 { |
| 275 return m_webView->isTransparent(); |
| 276 } |
| 277 |
| 278 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) |
| 279 { |
| 280 m_webView->setBaseBackgroundColor(color); |
| 281 } |
| 282 |
268 void WebViewFrameWidget::scheduleAnimation() | 283 void WebViewFrameWidget::scheduleAnimation() |
269 { | 284 { |
270 m_webView->scheduleAnimation(); | 285 m_webView->scheduleAnimation(); |
271 } | 286 } |
272 | 287 |
273 } // namespace blink | 288 } // namespace blink |
OLD | NEW |