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 <vector> |
| 9 |
8 #include "content/browser/renderer_host/render_view_host_observer.h" | 10 #include "content/browser/renderer_host/render_view_host_observer.h" |
9 | 11 |
10 #include <string> | |
11 #include <vector> | |
12 | |
13 struct FaviconURL; | 12 struct FaviconURL; |
14 class GURL; | |
15 class RenderViewHost; | 13 class RenderViewHost; |
16 | 14 |
17 namespace IPC { | 15 namespace IPC { |
18 class Message; | 16 class Message; |
19 } | 17 } |
20 | 18 |
21 namespace prerender { | 19 namespace prerender { |
22 | 20 |
23 class PrerenderContents; | 21 class PrerenderContents; |
24 | 22 |
(...skipping 15 matching lines...) Expand all Loading... |
40 private: | 38 private: |
41 // Message handlers. | 39 // Message handlers. |
42 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); | 40 void OnUpdateFaviconURL(int32 page_id, const std::vector<FaviconURL>& urls); |
43 void OnMaybeCancelPrerenderForHTML5Media(); | 41 void OnMaybeCancelPrerenderForHTML5Media(); |
44 void OnCancelPrerenderForPrinting(); | 42 void OnCancelPrerenderForPrinting(); |
45 | 43 |
46 // The associated prerender contents. | 44 // The associated prerender contents. |
47 PrerenderContents* prerender_contents_; | 45 PrerenderContents* prerender_contents_; |
48 }; | 46 }; |
49 | 47 |
50 } | 48 } // namespace prerender |
| 49 |
51 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ | 50 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_RENDER_VIEW_HOST_OBSERVER_H_ |
OLD | NEW |