diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 17:03:07 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 17:03:07 +0000 |
commit | 38c0e99c382e4bf5ba04720f207338dba103f67f (patch) | |
tree | 6919b371afc1c5141388a90f8d09d6e199b9d0d3 /webkit/glue/webframe.h | |
parent | 1540cd50af4875ae49a4012015bac43ae17c2258 (diff) | |
download | chromium_src-38c0e99c382e4bf5ba04720f207338dba103f67f.zip chromium_src-38c0e99c382e4bf5ba04720f207338dba103f67f.tar.gz chromium_src-38c0e99c382e4bf5ba04720f207338dba103f67f.tar.bz2 |
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
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r-- | webkit/glue/webframe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h index d35376e..571b281 100644 --- a/webkit/glue/webframe.h +++ b/webkit/glue/webframe.h @@ -9,6 +9,7 @@ #include "skia/ext/bitmap_platform_device.h" #include "skia/ext/platform_canvas.h" #include "webkit/glue/console_message_level.h" +#include "webkit/glue/feed.h" #include "webkit/glue/find_in_page_request.h" class GURL; @@ -129,6 +130,10 @@ class WebFrame { // the page does not have a valid document, an empty GURL is returned. virtual GURL GetOSDDURL() const = 0; + // Return the list of feeds specified in the document for the frame. If + // the page does not have a valid document, an empty list is returned. + virtual scoped_refptr<class FeedList> GetFeedList() const = 0; + // Returns the committed data source, which is the last data source that has // successfully started loading. Will return NULL if no provisional data // has been committed. |