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

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

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slight tweaking for comments Created 9 years, 5 months 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
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 68 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
69 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 69 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
70 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, 70 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
71 const string16& message, 71 const string16& message,
72 const string16& default_prompt, 72 const string16& default_prompt,
73 const GURL& frame_url, 73 const GURL& frame_url,
74 const int flags, 74 const int flags,
75 IPC::Message* reply_msg, 75 IPC::Message* reply_msg,
76 bool* did_suppress_message) OVERRIDE; 76 bool* did_suppress_message) OVERRIDE;
77 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; 77 virtual void Close(RenderViewHost* render_view_host) OVERRIDE;
78 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; 78 virtual RendererPreferences GetRendererPrefs(
79 content::BrowserContext* browser_context) const OVERRIDE;
79 virtual void RenderViewGone(RenderViewHost* rvh, 80 virtual void RenderViewGone(RenderViewHost* rvh,
80 base::TerminationStatus status, 81 base::TerminationStatus status,
81 int error_code) OVERRIDE; 82 int error_code) OVERRIDE;
82 83
83 // RenderViewHostDelegate::View 84 // RenderViewHostDelegate::View
84 virtual void CreateNewWindow( 85 virtual void CreateNewWindow(
85 int route_id, 86 int route_id,
86 const ViewHostMsg_CreateWindow_Params& params); 87 const ViewHostMsg_CreateWindow_Params& params);
87 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 88 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
88 virtual void CreateNewFullscreenWidget(int route_id); 89 virtual void CreateNewFullscreenWidget(int route_id);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 BackgroundContents* contents; 156 BackgroundContents* contents;
156 157
157 // The name of the parent frame for these contents. 158 // The name of the parent frame for these contents.
158 const string16& frame_name; 159 const string16& frame_name;
159 160
160 // The ID of the parent application (if any). 161 // The ID of the parent application (if any).
161 const string16& application_id; 162 const string16& application_id;
162 }; 163 };
163 164
164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 165 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698