| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 WebColor WebViewFrameWidget::backgroundColor() const | 233 WebColor WebViewFrameWidget::backgroundColor() const |
| 234 { | 234 { |
| 235 return m_webView->backgroundColor(); | 235 return m_webView->backgroundColor(); |
| 236 } | 236 } |
| 237 | 237 |
| 238 WebPagePopup* WebViewFrameWidget::pagePopup() const | 238 WebPagePopup* WebViewFrameWidget::pagePopup() const |
| 239 { | 239 { |
| 240 return m_webView->pagePopup(); | 240 return m_webView->pagePopup(); |
| 241 } | 241 } |
| 242 | 242 |
| 243 void WebViewFrameWidget::setTopControlsHeight(float height, bool topControlsShri
nkLayoutSize) | |
| 244 { | |
| 245 return m_webView->setTopControlsHeight(height, topControlsShrinkLayoutSize); | |
| 246 } | |
| 247 | |
| 248 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) | 243 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) |
| 249 { | 244 { |
| 250 return m_webView->updateTopControlsState(constraints, current, animate); | 245 return m_webView->updateTopControlsState(constraints, current, animate); |
| 251 } | 246 } |
| 252 | 247 |
| 253 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) | 248 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) |
| 254 { | 249 { |
| 255 return m_webView->setVisibilityState(visibilityState, isInitialState); | 250 return m_webView->setVisibilityState(visibilityState, isInitialState); |
| 256 } | 251 } |
| 257 | 252 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 269 { | 264 { |
| 270 m_webView->setBaseBackgroundColor(color); | 265 m_webView->setBaseBackgroundColor(color); |
| 271 } | 266 } |
| 272 | 267 |
| 273 void WebViewFrameWidget::scheduleAnimation() | 268 void WebViewFrameWidget::scheduleAnimation() |
| 274 { | 269 { |
| 275 m_webView->scheduleAnimation(); | 270 m_webView->scheduleAnimation(); |
| 276 } | 271 } |
| 277 | 272 |
| 278 } // namespace blink | 273 } // namespace blink |
| OLD | NEW |