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

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

Issue 7015026: Cancel prerenders for pages that call window.print() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 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 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
7 7
8 #include "content/browser/renderer_host/render_view_host_observer.h" 8 #include "content/browser/renderer_host/render_view_host_observer.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const GURL& frame_url, 45 const GURL& frame_url,
46 const int flags, 46 const int flags,
47 bool* did_suppress_message, 47 bool* did_suppress_message,
48 std::wstring* prompt_field); 48 std::wstring* prompt_field);
49 void OnRenderViewGone(int status, int exit_code); 49 void OnRenderViewGone(int status, int exit_code);
50 void OnDidStartProvisionalLoadForFrame(int64 frame_id, 50 void OnDidStartProvisionalLoadForFrame(int64 frame_id,
51 bool is_main_frame, 51 bool is_main_frame,
52 const GURL& url); 52 const GURL& url);
53 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); 53 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls);
54 void OnMaybeCancelPrerenderForHTML5Media(); 54 void OnMaybeCancelPrerenderForHTML5Media();
55 void OnCancelPrerenderForPrinting();
55 56
56 // The associated prerender contents. 57 // The associated prerender contents.
57 PrerenderContents* prerender_contents_; 58 PrerenderContents* prerender_contents_;
58 }; 59 };
59 60
60 } 61 }
61 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ 62 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_observer.h ('k') | chrome/browser/prerender/prerender_render_view_host_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698