| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <cmath> | 9 #include <cmath> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 3816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3827 } | 3827 } |
| 3828 | 3828 |
| 3829 void WebContentsImpl::StopMediaSession() { | 3829 void WebContentsImpl::StopMediaSession() { |
| 3830 MediaSession::Get(this)->Stop(MediaSession::SuspendType::UI); | 3830 MediaSession::Get(this)->Stop(MediaSession::SuspendType::UI); |
| 3831 } | 3831 } |
| 3832 | 3832 |
| 3833 void WebContentsImpl::OnPasswordInputShownOnHttp() { | 3833 void WebContentsImpl::OnPasswordInputShownOnHttp() { |
| 3834 controller_.ssl_manager()->DidShowPasswordInputOnHttp(); | 3834 controller_.ssl_manager()->DidShowPasswordInputOnHttp(); |
| 3835 } | 3835 } |
| 3836 | 3836 |
| 3837 void WebContentsImpl::OnAllPasswordInputsHiddenOnHttp() { |
| 3838 controller_.ssl_manager()->DidHideAllPasswordInputsOnHttp(); |
| 3839 } |
| 3840 |
| 3837 void WebContentsImpl::OnCreditCardInputShownOnHttp() { | 3841 void WebContentsImpl::OnCreditCardInputShownOnHttp() { |
| 3838 controller_.ssl_manager()->DidShowCreditCardInputOnHttp(); | 3842 controller_.ssl_manager()->DidShowCreditCardInputOnHttp(); |
| 3839 } | 3843 } |
| 3840 | 3844 |
| 3841 void WebContentsImpl::SetIsOverlayContent(bool is_overlay_content) { | 3845 void WebContentsImpl::SetIsOverlayContent(bool is_overlay_content) { |
| 3842 is_overlay_content_ = is_overlay_content; | 3846 is_overlay_content_ = is_overlay_content; |
| 3843 } | 3847 } |
| 3844 | 3848 |
| 3845 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { | 3849 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { |
| 3846 for (auto& observer : observers_) | 3850 for (auto& observer : observers_) |
| (...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5208 dialog_manager_ = dialog_manager; | 5212 dialog_manager_ = dialog_manager; |
| 5209 } | 5213 } |
| 5210 | 5214 |
| 5211 void WebContentsImpl::RemoveBindingSet(const std::string& interface_name) { | 5215 void WebContentsImpl::RemoveBindingSet(const std::string& interface_name) { |
| 5212 auto it = binding_sets_.find(interface_name); | 5216 auto it = binding_sets_.find(interface_name); |
| 5213 if (it != binding_sets_.end()) | 5217 if (it != binding_sets_.end()) |
| 5214 binding_sets_.erase(it); | 5218 binding_sets_.erase(it); |
| 5215 } | 5219 } |
| 5216 | 5220 |
| 5217 } // namespace content | 5221 } // namespace content |
| OLD | NEW |