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

Side by Side Diff: chrome/browser/prerender/prerender_render_view_host_observer.cc

Issue 11416179: Move chrome/common/favicon_url.(cc|h) into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/prerender/prerender_render_view_host_observer.h" 5 #include "chrome/browser/prerender/prerender_render_view_host_observer.h"
6 6
7 #include "chrome/browser/prerender/prerender_contents.h" 7 #include "chrome/browser/prerender/prerender_contents.h"
8 #include "chrome/common/icon_messages.h" 8 #include "chrome/common/icon_messages.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 // The base class declares this as protected so this is just here to make it 52 // The base class declares this as protected so this is just here to make it
53 // public so it is visible to the caller. 53 // public so it is visible to the caller.
54 bool PrerenderRenderViewHostObserver::Send(IPC::Message* message) { 54 bool PrerenderRenderViewHostObserver::Send(IPC::Message* message) {
55 return content::RenderViewHostObserver::Send(message); 55 return content::RenderViewHostObserver::Send(message);
56 } 56 }
57 57
58 void PrerenderRenderViewHostObserver::OnUpdateFaviconURL( 58 void PrerenderRenderViewHostObserver::OnUpdateFaviconURL(
59 int32 page_id, 59 int32 page_id,
60 const std::vector<FaviconURL>& urls) { 60 const std::vector<content::FaviconURL>& urls) {
61 prerender_contents_->OnUpdateFaviconURL(page_id, urls); 61 prerender_contents_->OnUpdateFaviconURL(page_id, urls);
62 } 62 }
63 63
64 void PrerenderRenderViewHostObserver::OnMaybeCancelPrerenderForHTML5Media() { 64 void PrerenderRenderViewHostObserver::OnMaybeCancelPrerenderForHTML5Media() {
65 prerender_contents_->Destroy(FINAL_STATUS_HTML5_MEDIA); 65 prerender_contents_->Destroy(FINAL_STATUS_HTML5_MEDIA);
66 } 66 }
67 67
68 void PrerenderRenderViewHostObserver::OnCancelPrerenderForPrinting() { 68 void PrerenderRenderViewHostObserver::OnCancelPrerenderForPrinting() {
69 prerender_contents_->Destroy(FINAL_STATUS_WINDOW_PRINT); 69 prerender_contents_->Destroy(FINAL_STATUS_WINDOW_PRINT);
70 } 70 }
71 71
72 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698