From 38c0e99c382e4bf5ba04720f207338dba103f67f Mon Sep 17 00:00:00 2001
From: "finnur@chromium.org"
 <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Fri, 13 Mar 2009 17:03:07 +0000
Subject: RSS feed support (part 1)

Part 1 is RSS feed auto-discovery.

This will parse the web page header to find the feeds in the document and notify
the browser to display the RSS icon in the toolbar. You can click on the icon,
but it will just navigate to the first feed on the page, which (unless it has
been designed to be browser friendly) will just dump XML as text on the user.

For this reason I have disabled the code that makes the RSS icon appear and
intend to enable it when we have a good landing page to display the XML.

Review URL: http://codereview.chromium.org/43109

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11640 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/browser/tab_contents/tab_contents.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'chrome/browser/tab_contents/tab_contents.h')

diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index d28e068..488e8f1 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -73,10 +73,11 @@ class TabContents : public PageNavigator,
   // Flags passed to the TabContentsDelegate.NavigationStateChanged to tell it
   // what has changed. Combine them to update more than one thing.
   enum InvalidateTypes {
-    INVALIDATE_URL = 1,      // The URL has changed.
-    INVALIDATE_TITLE = 2,    // The title has changed.
-    INVALIDATE_FAVICON = 4,  // The favicon has changed.
-    INVALIDATE_LOAD = 8,     // The loading state has changed
+    INVALIDATE_URL = 1,        // The URL has changed.
+    INVALIDATE_TITLE = 2,      // The title has changed.
+    INVALIDATE_FAVICON = 4,    // The favicon has changed.
+    INVALIDATE_LOAD = 8,       // The loading state has changed.
+    INVALIDATE_FEEDLIST = 16,  // The Atom/RSS feed has changed.
 
     // Helper for forcing a refresh.
     INVALIDATE_EVERYTHING = 0xFFFFFFFF
-- 
cgit v1.1