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

Unified Diff: chrome/renderer/render_view.cc

Issue 46055: RSS feed support (part 1), 2nd attempt (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « chrome/renderer/render_view.h ('k') | chrome/test/test_location_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 11648)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1219,6 +1219,9 @@
if (!favicon_url.is_empty())
Send(new ViewHostMsg_UpdateFavIconURL(routing_id_, page_id_, favicon_url));
+ // Update the list of available feeds.
+ UpdateFeedList(webview->GetMainFrame()->GetFeedList());
+
AddGURLSearchProvider(webview->GetMainFrame()->GetOSDDURL(),
true); // autodetected
@@ -1696,6 +1699,13 @@
autodetected));
}
+void RenderView::UpdateFeedList(scoped_refptr<FeedList> feedlist) {
+ ViewHostMsg_UpdateFeedList_Params params;
+ params.page_id = page_id_;
+ params.feedlist = feedlist;
+ Send(new ViewHostMsg_UpdateFeedList(routing_id_, params));
+}
+
bool RenderView::RunBeforeUnloadConfirm(WebFrame* webframe,
const std::wstring& message) {
bool success = false;
« no previous file with comments | « chrome/renderer/render_view.h ('k') | chrome/test/test_location_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698