OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/tab_contents/background_contents.h" | 5 #include "chrome/browser/tab_contents/background_contents.h" |
6 | 6 |
7 #include "chrome/browser/background_contents_service.h" | 7 #include "chrome/browser/background_contents_service.h" |
8 #include "chrome/browser/browsing_instance.h" | 8 #include "chrome/browser/browsing_instance.h" |
9 #include "chrome/browser/in_process_webkit/dom_storage_context.h" | 9 #include "chrome/browser/in_process_webkit/dom_storage_context.h" |
10 #include "chrome/browser/in_process_webkit/webkit_context.h" | 10 #include "chrome/browser/in_process_webkit/webkit_context.h" |
11 #include "chrome/browser/profile.h" | 11 #include "chrome/browser/profile.h" |
12 #include "chrome/browser/renderer_host/render_view_host.h" | 12 #include "chrome/browser/renderer_host/render_view_host.h" |
13 #include "chrome/browser/renderer_host/site_instance.h" | 13 #include "chrome/browser/renderer_host/site_instance.h" |
14 #include "chrome/browser/renderer_preferences_util.h" | 14 #include "chrome/browser/renderer_preferences_util.h" |
15 #include "chrome/common/notification_service.h" | 15 #include "chrome/common/notification_service.h" |
16 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
17 #include "chrome/common/view_types.h" | 17 #include "chrome/common/view_types.h" |
18 #include "chrome/common/render_messages.h" | 18 #include "chrome/common/render_messages_params.h" |
19 #include "gfx/rect.h" | 19 #include "gfx/rect.h" |
20 | 20 |
21 //////////////// | 21 //////////////// |
22 // BackgroundContents | 22 // BackgroundContents |
23 | 23 |
24 BackgroundContents::BackgroundContents(SiteInstance* site_instance, | 24 BackgroundContents::BackgroundContents(SiteInstance* site_instance, |
25 int routing_id, | 25 int routing_id, |
26 Delegate* delegate) | 26 Delegate* delegate) |
27 : delegate_(delegate) { | 27 : delegate_(delegate) { |
28 Profile* profile = site_instance->browsing_instance()->profile(); | 28 Profile* profile = site_instance->browsing_instance()->profile(); |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 195 } |
196 | 196 |
197 void BackgroundContents::ShowCreatedWidget(int route_id, | 197 void BackgroundContents::ShowCreatedWidget(int route_id, |
198 const gfx::Rect& initial_pos) { | 198 const gfx::Rect& initial_pos) { |
199 NOTIMPLEMENTED(); | 199 NOTIMPLEMENTED(); |
200 } | 200 } |
201 | 201 |
202 void BackgroundContents::ShowCreatedFullscreenWidget(int route_id) { | 202 void BackgroundContents::ShowCreatedFullscreenWidget(int route_id) { |
203 NOTIMPLEMENTED(); | 203 NOTIMPLEMENTED(); |
204 } | 204 } |
OLD | NEW |