Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4715)

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 2067003: Track "display" and "run" separately for mixed content, and make the latter d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_contents.h
===================================================================
--- chrome/browser/tab_contents/tab_contents.h (revision 47175)
+++ chrome/browser/tab_contents/tab_contents.h (working copy)
@@ -298,6 +298,10 @@
// navigation state change to trigger repaint of title.
void SetAppIcon(const SkBitmap& app_icon);
+ bool displayed_insecure_content() const {
+ return displayed_insecure_content_;
+ }
+
// Internal state ------------------------------------------------------------
// This flag indicates whether the tab contents is currently being
@@ -1135,6 +1139,9 @@
// Stores which content setting types actually have blocked content.
bool content_blocked_[CONTENT_SETTINGS_NUM_TYPES];
+ // True if this is a secure page which displayed insecure content.
+ bool displayed_insecure_content_;
+
// Data for shelves and stuff ------------------------------------------------
// Delegates for InfoBars associated with this TabContents.

Powered by Google App Engine
This is Rietveld 408576698