summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 21:08:29 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 21:08:29 +0000
commite3d60e5dbbe1a30ee38ad470a5d6040011aea60a (patch)
tree7bbbc49baffe53a69b218782ec9ae9c9a5955119 /chrome/browser/tab_contents
parent62032c25bd0a89863af01c85c197e1fada71ac0c (diff)
downloadchromium_src-e3d60e5dbbe1a30ee38ad470a5d6040011aea60a.zip
chromium_src-e3d60e5dbbe1a30ee38ad470a5d6040011aea60a.tar.gz
chromium_src-e3d60e5dbbe1a30ee38ad470a5d6040011aea60a.tar.bz2
Plumb the new mixed content API callbacks to the tab contents. We'll actually
use these notifications in a future patch. No behavior change. R=agl Review URL: http://codereview.chromium.org/241004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc8
-rw-r--r--chrome/browser/tab_contents/tab_contents.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 80a7d8b..9b82671 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -1773,6 +1773,14 @@ void TabContents::DidLoadResourceFromMemoryCache(
Details<LoadFromMemoryCacheDetails>(&details));
}
+void TabContents::DidDisplayInsecureContent() {
+ // TODO(abarth): Update the HTTPS state.
+}
+
+void TabContents::DidRunInsecureContent(const std::string& security_origin) {
+ // TODO(abarth): Update the HTTPS state.
+}
+
void TabContents::DidFailProvisionalLoadWithError(
RenderViewHost* render_view_host,
bool is_main_frame,
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 70989ad..72f050f 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -815,6 +815,8 @@ class TabContents : public PageNavigator,
const std::string& frame_origin,
const std::string& main_frame_origin,
const std::string& security_info);
+ virtual void DidDisplayInsecureContent();
+ virtual void DidRunInsecureContent(const std::string& security_origin);
virtual void DidFailProvisionalLoadWithError(
RenderViewHost* render_view_host,
bool is_main_frame,