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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool) Created 5 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 4828 matching lines...) Expand 10 before | Expand all | Expand 10 after
4839 delete web_ui; 4839 delete web_ui;
4840 return NULL; 4840 return NULL;
4841 } 4841 }
4842 4842
4843 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4843 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4844 force_disable_overscroll_content_ = force_disable; 4844 force_disable_overscroll_content_ = force_disable;
4845 if (view_) 4845 if (view_)
4846 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4846 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4847 } 4847 }
4848 4848
4849 void WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool visible) {
Charlie Reis 2015/12/10 07:45:19 Please list this with the other RWHD overrides. I
EhsanK 2015/12/10 17:08:31 For this CL I removed the function altogether. But
4850 if (visible)
4851 WasShown();
4852 else
4853 WasHidden();
4854 }
4855
4849 } // namespace content 4856 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698