Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/browser/tab_contents/background_contents.cc

Issue 8590033: Remove some unnecessary includes of view_messages.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/tab_contents/background_contents.h" 5 #include "chrome/browser/tab_contents/background_contents.h"
6 6
7 #include "chrome/browser/background/background_contents_service.h" 7 #include "chrome/browser/background/background_contents_service.h"
8 #include "chrome/browser/extensions/extension_message_service.h" 8 #include "chrome/browser/extensions/extension_message_service.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/renderer_preferences_util.h" 10 #include "chrome/browser/renderer_preferences_util.h"
11 #include "chrome/browser/ui/webui/chrome_web_ui_factory.h" 11 #include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
12 #include "chrome/common/chrome_notification_types.h" 12 #include "chrome/common/chrome_notification_types.h"
13 #include "chrome/common/extensions/extension_constants.h" 13 #include "chrome/common/extensions/extension_constants.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "chrome/common/chrome_view_types.h" 15 #include "chrome/common/chrome_view_types.h"
16 #include "content/browser/browsing_instance.h" 16 #include "content/browser/browsing_instance.h"
17 #include "content/browser/renderer_host/render_view_host.h" 17 #include "content/browser/renderer_host/render_view_host.h"
18 #include "content/browser/site_instance.h" 18 #include "content/browser/site_instance.h"
19 #include "content/browser/tab_contents/tab_contents.h" 19 #include "content/browser/tab_contents/tab_contents.h"
20 #include "content/public/browser/notification_service.h" 20 #include "content/public/browser/notification_service.h"
21 #include "content/common/view_messages.h"
22 #include "ui/gfx/rect.h" 21 #include "ui/gfx/rect.h"
23 22
24 //////////////// 23 ////////////////
25 // BackgroundContents 24 // BackgroundContents
26 25
27 BackgroundContents::BackgroundContents(SiteInstance* site_instance, 26 BackgroundContents::BackgroundContents(SiteInstance* site_instance,
28 int routing_id, 27 int routing_id,
29 Delegate* delegate) 28 Delegate* delegate)
30 : delegate_(delegate) { 29 : delegate_(delegate) {
31 profile_ = Profile::FromBrowserContext( 30 profile_ = Profile::FromBrowserContext(
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 case chrome::NOTIFICATION_PROFILE_DESTROYED: 115 case chrome::NOTIFICATION_PROFILE_DESTROYED:
117 case content::NOTIFICATION_APP_TERMINATING: { 116 case content::NOTIFICATION_APP_TERMINATING: {
118 delete this; 117 delete this;
119 break; 118 break;
120 } 119 }
121 default: 120 default:
122 NOTREACHED() << "Unexpected notification sent."; 121 NOTREACHED() << "Unexpected notification sent.";
123 break; 122 break;
124 } 123 }
125 } 124 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_views.cc ('k') | chrome/browser/ui/webui/cloud_print_signin_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698