Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 } // namespace blink 263 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698