Introduce browser-side plumbing for sending the lock icon status to
commit662dd52cdfea198f6a145f9da5a7c8b0c8133643
authorlgarron <lgarron@chromium.org>
Mon, 8 Jun 2015 23:20:01 +0000 (8 16:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Jun 2015 23:20:38 +0000 (8 23:20 +0000)
tree25306ce86d8c9548f50a4f080667ceedb540d202
parent0bfa8a8a759697b140ef2a18f058513ec8485a57
Introduce browser-side plumbing for sending the lock icon status to
DevTools.

Based on the plumbing doc at [1]. estark@ co-authored much of this
commit through pair programming.

This CL adds a SecurityStyleChanged() method that is fired when the lock
icon changes. This method will be implemented in
RenderFrameDevToolsAgentHost in a follow-up CL, which will pass it on to
DevTools.

[1] https://docs.google.com/document/d/1kMU5dPi2PwQ7skbgwlfQsenYdTwOi2ya2WYla2uy0OU/edit

BUG=445359, 484395

Review URL: https://codereview.chromium.org/1162663004

Cr-Commit-Position: refs/heads/master@{#333381}
chrome/browser/ssl/connection_security_helper.cc
chrome/browser/ssl/connection_security_helper.h
chrome/browser/ui/browser.cc
chrome/browser/ui/browser.h
chrome/browser/ui/browser_browsertest.cc
content/browser/web_contents/web_contents_impl.cc
content/public/browser/web_contents_delegate.cc
content/public/browser/web_contents_delegate.h
content/public/browser/web_contents_observer.h
content/public/common/security_style.h