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> |
(...skipping 12 matching lines...) Expand all Loading... |
23 class SessionStorageNamespace; | 23 class SessionStorageNamespace; |
24 class TabContents; | 24 class TabContents; |
25 class TabContentsWrapper; | 25 class TabContentsWrapper; |
26 struct FaviconURL; | 26 struct FaviconURL; |
27 struct ViewHostMsg_FrameNavigate_Params; | 27 struct ViewHostMsg_FrameNavigate_Params; |
28 | 28 |
29 namespace base { | 29 namespace base { |
30 class ProcessMetrics; | 30 class ProcessMetrics; |
31 } | 31 } |
32 | 32 |
33 namespace gfx { | |
34 class Rect; | |
35 } | |
36 | |
37 namespace prerender { | 33 namespace prerender { |
38 | 34 |
39 class PrerenderManager; | 35 class PrerenderManager; |
40 class PrerenderRenderViewHostObserver; | 36 class PrerenderRenderViewHostObserver; |
41 class PrerenderTracker; | 37 class PrerenderTracker; |
42 | 38 |
43 // This class is a peer of TabContents. It can host a renderer, but does not | 39 // This class is a peer of TabContents. It can host a renderer, but does not |
44 // have any visible display. Its navigation is not managed by a | 40 // have any visible display. Its navigation is not managed by a |
45 // NavigationController because is has no facility for navigating (other than | 41 // NavigationController because is has no facility for navigating (other than |
46 // programatically view window.location.href) or RenderViewHostManager because | 42 // programatically view window.location.href) or RenderViewHostManager because |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 308 |
313 // Offset by which to offset prerendered pages | 309 // Offset by which to offset prerendered pages |
314 static const int32 kPrerenderPageIdOffset = 10; | 310 static const int32 kPrerenderPageIdOffset = 10; |
315 | 311 |
316 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 312 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
317 }; | 313 }; |
318 | 314 |
319 } // namespace prerender | 315 } // namespace prerender |
320 | 316 |
321 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 317 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |