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

Unified Diff: content/renderer/render_view.cc

Issue 7032013: Adapt to new icon interface from WebFrame (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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: content/renderer/render_view.cc
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
index 012594724e5e9c40e78a31a48657a470a5eb1e6d..a252ac0a35da61e506c593e0ebd67506cdf1e090 100644
--- a/content/renderer/render_view.cc
+++ b/content/renderer/render_view.cc
@@ -183,6 +183,7 @@ using WebKit::WebFormControlElement;
using WebKit::WebFormElement;
using WebKit::WebFrame;
using WebKit::WebHistoryItem;
+using WebKit::WebIconURL;
using WebKit::WebImage;
using WebKit::WebInputElement;
using WebKit::WebMediaPlayer;
@@ -2470,8 +2471,9 @@ void RenderView::didReceiveTitle(WebFrame* frame, const WebString& title,
UpdateEncoding(frame, frame->view()->pageEncoding().utf8());
}
-void RenderView::didChangeIcons(WebFrame* frame) {
- FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidChangeIcons(frame));
+void RenderView::didChangeIcon(WebFrame* frame, WebIconURL::Type type) {
+ FOR_EACH_OBSERVER(RenderViewObserver, observers_,
+ DidChangeIcon(frame, type));
}
void RenderView::didFinishDocumentLoad(WebFrame* frame) {

Powered by Google App Engine
This is Rietveld 408576698