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_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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void RenderViewGone(RenderViewHost* render_view_host, | 124 virtual void RenderViewGone(RenderViewHost* render_view_host, |
125 base::TerminationStatus status, | 125 base::TerminationStatus status, |
126 int error_code) OVERRIDE; | 126 int error_code) OVERRIDE; |
127 virtual void DidNavigate( | 127 virtual void DidNavigate( |
128 RenderViewHost* render_view_host, | 128 RenderViewHost* render_view_host, |
129 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 129 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
130 virtual void UpdateTitle(RenderViewHost* render_view_host, | 130 virtual void UpdateTitle(RenderViewHost* render_view_host, |
131 int32 page_id, | 131 int32 page_id, |
132 const std::wstring& title); | 132 const std::wstring& title); |
133 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 133 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
134 virtual void RunJavaScriptMessage(const std::wstring& message, | 134 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
| 135 const std::wstring& message, |
135 const std::wstring& default_prompt, | 136 const std::wstring& default_prompt, |
136 const GURL& frame_url, | 137 const GURL& frame_url, |
137 const int flags, | 138 const int flags, |
138 IPC::Message* reply_msg, | 139 IPC::Message* reply_msg, |
139 bool* did_suppress_message) OVERRIDE; | 140 bool* did_suppress_message) OVERRIDE; |
140 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 141 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
141 virtual void DidStopLoading() OVERRIDE; | 142 virtual void DidStopLoading() OVERRIDE; |
142 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; | 143 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; |
143 | 144 |
144 // RenderViewHostDelegate::View | 145 // RenderViewHostDelegate::View |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 // Process Metrics of the render process associated with the | 293 // Process Metrics of the render process associated with the |
293 // RenderViewHost for this object. | 294 // RenderViewHost for this object. |
294 scoped_ptr<base::ProcessMetrics> process_metrics_; | 295 scoped_ptr<base::ProcessMetrics> process_metrics_; |
295 | 296 |
296 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 297 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
297 }; | 298 }; |
298 | 299 |
299 } // namespace prerender | 300 } // namespace prerender |
300 | 301 |
301 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 302 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |