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_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/prerender/prerender_final_status.h" | 16 #include "chrome/browser/prerender/prerender_final_status.h" |
17 #include "content/browser/tab_contents/tab_contents_observer.h" | 17 #include "content/browser/tab_contents/tab_contents_observer.h" |
18 #include "content/browser/renderer_host/render_view_host_delegate.h" | |
19 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
20 | 19 |
21 class Profile; | 20 class Profile; |
22 class RenderViewHost; | 21 class RenderViewHost; |
| 22 class RenderViewHostDelegate; |
23 class TabContents; | 23 class TabContents; |
24 class TabContentsWrapper; | 24 class TabContentsWrapper; |
25 struct FaviconURL; | 25 struct FaviconURL; |
26 struct ViewHostMsg_FrameNavigate_Params; | 26 struct ViewHostMsg_FrameNavigate_Params; |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class ProcessMetrics; | 29 class ProcessMetrics; |
30 } | 30 } |
31 | 31 |
32 namespace gfx { | 32 namespace gfx { |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 308 |
309 // Offset by which to offset prerendered pages | 309 // Offset by which to offset prerendered pages |
310 static const int32 kPrerenderPageIdOffset = 10; | 310 static const int32 kPrerenderPageIdOffset = 10; |
311 | 311 |
312 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 312 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
313 }; | 313 }; |
314 | 314 |
315 } // namespace prerender | 315 } // namespace prerender |
316 | 316 |
317 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 317 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |