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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 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/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/renderer_host/site_instance.h" 11 #include "chrome/browser/renderer_host/site_instance.h"
12 #include "chrome/browser/renderer_preferences_util.h" 12 #include "chrome/browser/renderer_preferences_util.h"
13 #include "chrome/common/extensions/extension_constants.h" 13 #include "chrome/common/extensions/extension_constants.h"
14 #include "chrome/common/notification_service.h" 14 #include "chrome/common/notification_service.h"
15 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
16 #include "chrome/common/view_types.h" 16 #include "chrome/common/view_types.h"
17 #include "chrome/common/render_messages_params.h" 17 #include "chrome/common/render_messages_params.h"
18 #include "gfx/rect.h" 18 #include "gfx/rect.h"
19 19
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 BackgroundContents* 223 BackgroundContents*
224 BackgroundContents::GetBackgroundContentsByID(int render_process_id, 224 BackgroundContents::GetBackgroundContentsByID(int render_process_id,
225 int render_view_id) { 225 int render_view_id) {
226 RenderViewHost* render_view_host = 226 RenderViewHost* render_view_host =
227 RenderViewHost::FromID(render_process_id, render_view_id); 227 RenderViewHost::FromID(render_process_id, render_view_id);
228 if (!render_view_host) 228 if (!render_view_host)
229 return NULL; 229 return NULL;
230 230
231 return render_view_host->delegate()->GetAsBackgroundContents(); 231 return render_view_host->delegate()->GetAsBackgroundContents();
232 } 232 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | chrome/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698