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 #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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(Profile* profile) const; |
78 virtual void RenderViewGone(RenderViewHost* rvh, | 78 virtual void RenderViewGone(RenderViewHost* rvh, |
79 base::TerminationStatus status, | 79 base::TerminationStatus status, |
80 int error_code); | 80 int error_code); |
81 | 81 |
82 // RenderViewHostDelegate::View | 82 // RenderViewHostDelegate::View |
83 virtual void CreateNewWindow( | 83 virtual void CreateNewWindow( |
84 int route_id, | 84 int route_id, |
85 WindowContainerType window_container_type, | 85 const ViewHostMsg_CreateWindow_Params& params); |
86 const string16& frame_name); | |
87 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 86 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
88 virtual void CreateNewFullscreenWidget( | 87 virtual void CreateNewFullscreenWidget( |
89 int route_id, WebKit::WebPopupType popup_type); | 88 int route_id, WebKit::WebPopupType popup_type); |
90 virtual void ShowCreatedWindow(int route_id, | 89 virtual void ShowCreatedWindow(int route_id, |
91 WindowOpenDisposition disposition, | 90 WindowOpenDisposition disposition, |
92 const gfx::Rect& initial_pos, | 91 const gfx::Rect& initial_pos, |
93 bool user_gesture); | 92 bool user_gesture); |
94 virtual void ShowCreatedWidget(int route_id, | 93 virtual void ShowCreatedWidget(int route_id, |
95 const gfx::Rect& initial_pos); | 94 const gfx::Rect& initial_pos); |
96 virtual void ShowCreatedFullscreenWidget(int route_id); | 95 virtual void ShowCreatedFullscreenWidget(int route_id); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 BackgroundContents* contents; | 173 BackgroundContents* contents; |
175 | 174 |
176 // The name of the parent frame for these contents. | 175 // The name of the parent frame for these contents. |
177 const string16& frame_name; | 176 const string16& frame_name; |
178 | 177 |
179 // The ID of the parent application (if any). | 178 // The ID of the parent application (if any). |
180 const string16& application_id; | 179 const string16& application_id; |
181 }; | 180 }; |
182 | 181 |
183 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 182 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
OLD | NEW |