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_PRERENDER_PRERENDER_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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); | 76 bool* did_suppress_message); |
77 virtual void Close(RenderViewHost* render_view_host); | 77 virtual void Close(RenderViewHost* render_view_host); |
78 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 78 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
79 | 79 |
80 // RenderViewHostDelegate::View | 80 // RenderViewHostDelegate::View |
81 virtual void CreateNewWindow( | 81 virtual void CreateNewWindow( |
82 int route_id, | 82 int route_id, |
83 WindowContainerType window_container_type, | 83 const ViewHostMsg_CreateWindow_Params& params); |
84 const string16& frame_name); | |
85 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 84 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
86 virtual void CreateNewFullscreenWidget( | 85 virtual void CreateNewFullscreenWidget( |
87 int route_id, WebKit::WebPopupType popup_type); | 86 int route_id, WebKit::WebPopupType popup_type); |
88 virtual void ShowCreatedWindow(int route_id, | 87 virtual void ShowCreatedWindow(int route_id, |
89 WindowOpenDisposition disposition, | 88 WindowOpenDisposition disposition, |
90 const gfx::Rect& initial_pos, | 89 const gfx::Rect& initial_pos, |
91 bool user_gesture); | 90 bool user_gesture); |
92 virtual void ShowCreatedWidget(int route_id, | 91 virtual void ShowCreatedWidget(int route_id, |
93 const gfx::Rect& initial_pos); | 92 const gfx::Rect& initial_pos); |
94 virtual void ShowCreatedFullscreenWidget(int route_id); | 93 virtual void ShowCreatedFullscreenWidget(int route_id); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 181 |
183 // A vector of URLs that this prerendered page matches against. | 182 // A vector of URLs that this prerendered page matches against. |
184 // This array can contain more than element as a result of redirects, | 183 // This array can contain more than element as a result of redirects, |
185 // such as HTTP redirects or javascript redirects. | 184 // such as HTTP redirects or javascript redirects. |
186 std::vector<GURL> alias_urls_; | 185 std::vector<GURL> alias_urls_; |
187 | 186 |
188 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 187 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
189 }; | 188 }; |
190 | 189 |
191 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 190 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |