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> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const ViewHostMsg_FrameNavigate_Params& params); | 67 const ViewHostMsg_FrameNavigate_Params& params); |
68 virtual WebPreferences GetWebkitPrefs(); | 68 virtual WebPreferences GetWebkitPrefs(); |
69 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 69 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
70 const string16& message, | 70 const string16& message, |
71 const string16& default_prompt, | 71 const string16& default_prompt, |
72 const GURL& frame_url, | 72 const GURL& frame_url, |
73 const int flags, | 73 const int flags, |
74 IPC::Message* reply_msg, | 74 IPC::Message* reply_msg, |
75 bool* did_suppress_message); | 75 bool* did_suppress_message); |
76 virtual void Close(RenderViewHost* render_view_host); | 76 virtual void Close(RenderViewHost* render_view_host); |
77 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 77 virtual RendererPreferences GetRendererPrefs( |
| 78 content::BrowserContext* context) const; |
78 virtual void RenderViewGone(RenderViewHost* rvh, | 79 virtual void RenderViewGone(RenderViewHost* rvh, |
79 base::TerminationStatus status, | 80 base::TerminationStatus status, |
80 int error_code); | 81 int error_code); |
81 | 82 |
82 // RenderViewHostDelegate::View | 83 // RenderViewHostDelegate::View |
83 virtual void CreateNewWindow( | 84 virtual void CreateNewWindow( |
84 int route_id, | 85 int route_id, |
85 const ViewHostMsg_CreateWindow_Params& params); | 86 const ViewHostMsg_CreateWindow_Params& params); |
86 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 87 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
87 virtual void CreateNewFullscreenWidget(int route_id); | 88 virtual void CreateNewFullscreenWidget(int route_id); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 BackgroundContents* contents; | 155 BackgroundContents* contents; |
155 | 156 |
156 // The name of the parent frame for these contents. | 157 // The name of the parent frame for these contents. |
157 const string16& frame_name; | 158 const string16& frame_name; |
158 | 159 |
159 // The ID of the parent application (if any). | 160 // The ID of the parent application (if any). |
160 const string16& application_id; | 161 const string16& application_id; |
161 }; | 162 }; |
162 | 163 |
163 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 164 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
OLD | NEW |