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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" | 13 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" |
14 #include "content/browser/javascript_dialogs.h" | 14 #include "content/browser/javascript_dialogs.h" |
15 #include "content/browser/renderer_host/render_view_host_delegate.h" | 15 #include "content/browser/renderer_host/render_view_host_delegate.h" |
16 #include "content/common/notification_observer.h" | 16 #include "content/common/notification_observer.h" |
17 #include "content/common/notification_registrar.h" | 17 #include "content/common/notification_registrar.h" |
18 #include "content/common/window_container_type.h" | 18 #include "content/public/common/window_container_type.h" |
19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
20 | 20 |
21 class TabContents; | 21 class TabContents; |
22 struct WebPreferences; | 22 struct WebPreferences; |
23 | 23 |
24 namespace gfx { | 24 namespace gfx { |
25 class Rect; | 25 class Rect; |
26 } | 26 } |
27 | 27 |
28 // This class is a peer of TabContents. It can host a renderer, but does not | 28 // This class is a peer of TabContents. It can host a renderer, but does not |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 BackgroundContents* contents; | 155 BackgroundContents* contents; |
156 | 156 |
157 // The name of the parent frame for these contents. | 157 // The name of the parent frame for these contents. |
158 const string16& frame_name; | 158 const string16& frame_name; |
159 | 159 |
160 // The ID of the parent application (if any). | 160 // The ID of the parent application (if any). |
161 const string16& application_id; | 161 const string16& application_id; |
162 }; | 162 }; |
163 | 163 |
164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
OLD | NEW |