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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 WebColor WebViewFrameWidget::backgroundColor() const | 223 WebColor WebViewFrameWidget::backgroundColor() const |
224 { | 224 { |
225 return m_webView->backgroundColor(); | 225 return m_webView->backgroundColor(); |
226 } | 226 } |
227 | 227 |
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::setTopControlsHeight(float height, bool topControlsShri
nkLayoutSize) | |
234 { | |
235 return m_webView->setTopControlsHeight(height, topControlsShrinkLayoutSize); | |
236 } | |
237 | |
238 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) | 233 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
WebTopControlsState current, bool animate) |
239 { | 234 { |
240 return m_webView->updateTopControlsState(constraints, current, animate); | 235 return m_webView->updateTopControlsState(constraints, current, animate); |
241 } | 236 } |
242 | 237 |
243 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) | 238 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta
te, bool isInitialState) |
244 { | 239 { |
245 return m_webView->setVisibilityState(visibilityState, isInitialState); | 240 return m_webView->setVisibilityState(visibilityState, isInitialState); |
246 } | 241 } |
247 | 242 |
(...skipping 11 matching lines...) Expand all Loading... |
259 { | 254 { |
260 m_webView->setBaseBackgroundColor(color); | 255 m_webView->setBaseBackgroundColor(color); |
261 } | 256 } |
262 | 257 |
263 void WebViewFrameWidget::scheduleAnimation() | 258 void WebViewFrameWidget::scheduleAnimation() |
264 { | 259 { |
265 m_webView->scheduleAnimation(); | 260 m_webView->scheduleAnimation(); |
266 } | 261 } |
267 | 262 |
268 } // namespace blink | 263 } // namespace blink |
OLD | NEW |