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

Issue 43109: RSS feed support (part 1)... (Closed)

Created:
11 years, 9 months ago by Finnur
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11640

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 22

Patch Set 3 : '' #

Total comments: 11

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+509 lines, -81 lines) Patch
M AUTHORS View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A chrome/app/theme/rss.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/tab_contents_controller.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/location_bar.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/web_contents.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/web_contents.cc View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/toolbar_model.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/toolbar_model.cc View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 2 3 6 chunks +67 lines, -12 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 3 12 chunks +155 lines, -63 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 chunks +73 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/test/test_location_bar.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A webkit/glue/feed.h View 3 1 chunk +46 lines, -0 lines 0 comments Download
M webkit/glue/webframe.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/glue/webframe_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 1 2 3 2 chunks +63 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Finnur
This changelist has been lingering in my local tree while we have been putting all ...
11 years, 9 months ago (2009-03-12 00:03:48 UTC) #1
Finnur
> On Wed, Mar 11, 2009 at 16:43, <jorat1346@gmail.com> wrote: > A question: Why you ...
11 years, 9 months ago (2009-03-12 00:10:48 UTC) #2
Evan Martin
Higher level: is "common" the best directory for this? what happened to this being covered ...
11 years, 9 months ago (2009-03-12 00:32:45 UTC) #3
Jo
I will have loved to get comments like those, héhé! :D http://codereview.chromium.org/43109/diff/32/43 File chrome/browser/tab_contents/web_contents.cc (right): ...
11 years, 9 months ago (2009-03-12 00:50:48 UTC) #4
Finnur
We are still waiting on word about the traits Read/Write functions, but in the meantime ...
11 years, 9 months ago (2009-03-12 21:34:23 UTC) #5
Evan Martin
+carlos http://codereview.chromium.org/43109/diff/1042/2023 File chrome/common/render_messages.h (right): http://codereview.chromium.org/43109/diff/1042/2023#newcode552 Line 552: if (arraysize > FeedList::kMaxFeeds) { Carlos: this ...
11 years, 9 months ago (2009-03-12 22:46:08 UTC) #6
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/43109/diff/1042/2023 File chrome/common/render_messages.h (right): http://codereview.chromium.org/43109/diff/1042/2023#newcode556 Line 556: Unfortunately the design at this layer does not ...
11 years, 9 months ago (2009-03-12 23:14:57 UTC) #7
Evan Martin
LGTM; comment nits follow http://codereview.chromium.org/43109/diff/1042/2011 File chrome/browser/tab_contents/tab_contents.h (right): http://codereview.chromium.org/43109/diff/1042/2011#newcode78 Line 78: INVALIDATE_LOAD = 8, // ...
11 years, 9 months ago (2009-03-12 23:26:03 UTC) #8
Finnur
11 years, 9 months ago (2009-03-12 23:45:48 UTC) #9
All done and currently building. Will probably check this in tomorrow morning.
Thanks!

http://codereview.chromium.org/43109/diff/1042/2016
File chrome/browser/views/location_bar_view.cc (right):

http://codereview.chromium.org/43109/diff/1042/2016#newcode1051
Line 1051: std::wstring text = L"Subscribe to this feed";
Added a TODO.

On 2009/03/12 23:26:03, Evan Martin wrote:
> Do we need to translate this?  Or should this be a TODO?

http://codereview.chromium.org/43109/diff/1042/2002
File webkit/glue/feed.h (right):

http://codereview.chromium.org/43109/diff/1042/2002#newcode17
Line 17: // The feed type, for example: "application/rss+xml".
On 2009/03/12 23:26:03, Evan Martin wrote:
> Could you note that this isn't guaranteed to be set?

Done.

http://codereview.chromium.org/43109/diff/1042/2002#newcode25
Line 25: static const size_t kMaxFeeds = 50;
On 2009/03/12 23:26:03, Evan Martin wrote:
> comment on this?

Done.

http://codereview.chromium.org/43109/diff/1042/2002#newcode29
Line 29: void Add(FeedItem &item) {
On 2009/03/12 23:26:03, Evan Martin wrote:
> const?

Done.

Powered by Google App Engine
This is Rietveld 408576698