| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index ae0a6ecea2d81617526e2ec85bd4aa8e25c63d73..5c541df6bef1ead870bdafc2c26c9e3bc33e7542 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1455,6 +1455,20 @@ void WebContentsImpl::AttachToOuterWebContentsFrame(
|
| text_input_manager_.reset(nullptr);
|
| }
|
|
|
| +void WebContentsImpl::DidChangeVisibleSecurityState() {
|
| + if (delegate_) {
|
| + delegate_->VisibleSecurityStateChanged(this);
|
| +
|
| + SecurityStyleExplanations security_style_explanations;
|
| + blink::WebSecurityStyle security_style =
|
| + delegate_->GetSecurityStyle(this, &security_style_explanations);
|
| + for (auto& observer : observers_) {
|
| + observer.SecurityStyleChanged(security_style,
|
| + security_style_explanations);
|
| + }
|
| + }
|
| +}
|
| +
|
| void WebContentsImpl::Stop() {
|
| for (FrameTreeNode* node : frame_tree_.Nodes())
|
| node->StopLoading();
|
| @@ -3840,20 +3854,6 @@ void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
|
| }
|
| }
|
|
|
| -void WebContentsImpl::DidChangeVisibleSSLState() {
|
| - if (delegate_) {
|
| - delegate_->VisibleSSLStateChanged(this);
|
| -
|
| - SecurityStyleExplanations security_style_explanations;
|
| - blink::WebSecurityStyle security_style =
|
| - delegate_->GetSecurityStyle(this, &security_style_explanations);
|
| - for (auto& observer : observers_) {
|
| - observer.SecurityStyleChanged(security_style,
|
| - security_style_explanations);
|
| - }
|
| - }
|
| -}
|
| -
|
| void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
|
| for (auto& observer : observers_)
|
| observer.BeforeFormRepostWarningShow();
|
|
|