| OLD | NEW | 
|---|
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|