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

Side by Side Diff: content/public/browser/render_view_host_delegate.h

Issue 9271054: Send replies to sync IPCs from swapped out renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 // The page wants to transfer the request to a new renderer. 289 // The page wants to transfer the request to a new renderer.
290 virtual void RequestTransferURL( 290 virtual void RequestTransferURL(
291 const GURL& url, 291 const GURL& url,
292 const content::Referrer& referrer, 292 const content::Referrer& referrer,
293 WindowOpenDisposition disposition, 293 WindowOpenDisposition disposition,
294 int64 source_frame_id, 294 int64 source_frame_id,
295 const content::GlobalRequestID& old_request_id) {} 295 const content::GlobalRequestID& old_request_id) {}
296 296
297 // A javascript message, confirmation or prompt should be shown. 297 // A javascript message, confirmation or prompt should be shown.
298 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, 298 virtual void RunJavaScriptMessage(RenderViewHost* rvh,
299 const string16& message, 299 const string16& message,
300 const string16& default_prompt, 300 const string16& default_prompt,
301 const GURL& frame_url, 301 const GURL& frame_url,
302 ui::JavascriptMessageType type, 302 ui::JavascriptMessageType type,
303 IPC::Message* reply_msg, 303 IPC::Message* reply_msg,
304 bool* did_suppress_message) {} 304 bool* did_suppress_message) {}
305 305
306 virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, 306 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh,
307 const string16& message, 307 const string16& message,
308 IPC::Message* reply_msg) {} 308 IPC::Message* reply_msg) {}
309 309
310 // Return a dummy RendererPreferences object that will be used by the renderer 310 // Return a dummy RendererPreferences object that will be used by the renderer
311 // associated with the owning RenderViewHost. 311 // associated with the owning RenderViewHost.
312 virtual content::RendererPreferences GetRendererPrefs( 312 virtual content::RendererPreferences GetRendererPrefs(
313 content::BrowserContext* browser_context) const = 0; 313 content::BrowserContext* browser_context) const = 0;
314 314
315 // Returns a WebPreferences object that will be used by the renderer 315 // Returns a WebPreferences object that will be used by the renderer
316 // associated with the owning render view host. 316 // associated with the owning render view host.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // Notification that the view has lost the mouse lock. 400 // Notification that the view has lost the mouse lock.
401 virtual void LostMouseLock() {} 401 virtual void LostMouseLock() {}
402 402
403 protected: 403 protected:
404 virtual ~RenderViewHostDelegate() {} 404 virtual ~RenderViewHostDelegate() {}
405 }; 405 };
406 406
407 } // namespace content 407 } // namespace content
408 408
409 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 409 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698