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

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 6319001: Support window.opener after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unload; chrome dependency in RenderWidget. Created 9 years, 7 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
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_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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void RenderViewGone(RenderViewHost* render_view_host, 130 virtual void RenderViewGone(RenderViewHost* render_view_host,
131 base::TerminationStatus status, 131 base::TerminationStatus status,
132 int error_code) OVERRIDE; 132 int error_code) OVERRIDE;
133 virtual void DidNavigate( 133 virtual void DidNavigate(
134 RenderViewHost* render_view_host, 134 RenderViewHost* render_view_host,
135 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 135 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
136 virtual void UpdateTitle(RenderViewHost* render_view_host, 136 virtual void UpdateTitle(RenderViewHost* render_view_host,
137 int32 page_id, 137 int32 page_id,
138 const std::wstring& title); 138 const std::wstring& title);
139 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 139 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
140 virtual void RunJavaScriptMessage(const std::wstring& message, 140 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
141 const std::wstring& message,
141 const std::wstring& default_prompt, 142 const std::wstring& default_prompt,
142 const GURL& frame_url, 143 const GURL& frame_url,
143 const int flags, 144 const int flags,
144 IPC::Message* reply_msg, 145 IPC::Message* reply_msg,
145 bool* did_suppress_message) OVERRIDE; 146 bool* did_suppress_message) OVERRIDE;
146 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; 147 virtual void Close(RenderViewHost* render_view_host) OVERRIDE;
147 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; 148 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE;
148 149
149 // TabContentsObserver implementation. 150 // TabContentsObserver implementation.
150 virtual void DidStopLoading() OVERRIDE; 151 virtual void DidStopLoading() OVERRIDE;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 326
326 // The prerendered TabContents; may be null. 327 // The prerendered TabContents; may be null.
327 scoped_ptr<TabContentsWrapper> prerender_contents_; 328 scoped_ptr<TabContentsWrapper> prerender_contents_;
328 329
329 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 330 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
330 }; 331 };
331 332
332 } // namespace prerender 333 } // namespace prerender
333 334
334 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 335 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698