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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "chrome/browser/prerender/prerender_final_status.h" | 13 #include "chrome/browser/prerender/prerender_final_status.h" |
14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" | 14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" |
15 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 15 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
16 #include "chrome/common/view_types.h" | 16 #include "chrome/common/view_types.h" |
17 #include "chrome/common/window_container_type.h" | |
18 #include "content/browser/renderer_host/render_view_host_delegate.h" | 17 #include "content/browser/renderer_host/render_view_host_delegate.h" |
19 #include "content/common/notification_registrar.h" | 18 #include "content/common/notification_registrar.h" |
| 19 #include "content/common/window_container_type.h" |
20 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
21 | 21 |
22 class TabContents; | 22 class TabContents; |
23 struct WebPreferences; | 23 struct WebPreferences; |
24 struct ViewHostMsg_FrameNavigate_Params; | 24 struct ViewHostMsg_FrameNavigate_Params; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class ProcessMetrics; | 27 class ProcessMetrics; |
28 } | 28 } |
29 | 29 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // Maximum amount of private memory that may be used per PrerenderContents, | 268 // Maximum amount of private memory that may be used per PrerenderContents, |
269 // in MB. | 269 // in MB. |
270 static const int kMaxPrerenderPrivateMB = 100; | 270 static const int kMaxPrerenderPrivateMB = 100; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 272 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
273 }; | 273 }; |
274 | 274 |
275 } // prerender | 275 } // prerender |
276 | 276 |
277 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 277 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |