Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |