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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 void OnJSOutOfMemory(); | 42 void OnJSOutOfMemory(); |
43 void OnRunJavaScriptMessage(const std::wstring& message, | 43 void OnRunJavaScriptMessage(const std::wstring& message, |
44 const std::wstring& default_prompt, | 44 const std::wstring& default_prompt, |
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 bool has_opener_set, |
52 const GURL& url); | 53 const GURL& url); |
53 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); | 54 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); |
54 void OnMaybeCancelPrerenderForHTML5Media(); | 55 void OnMaybeCancelPrerenderForHTML5Media(); |
55 void OnCancelPrerenderForPrinting(); | 56 void OnCancelPrerenderForPrinting(); |
56 | 57 |
57 // The associated prerender contents. | 58 // The associated prerender contents. |
58 PrerenderContents* prerender_contents_; | 59 PrerenderContents* prerender_contents_; |
59 }; | 60 }; |
60 | 61 |
61 } | 62 } |
62 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ | 63 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ |
OLD | NEW |