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

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

Issue 10344028: Support cross-process window.close() messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 int64 source_frame_id) {} 290 int64 source_frame_id) {}
291 291
292 // The page wants to transfer the request to a new renderer. 292 // The page wants to transfer the request to a new renderer.
293 virtual void RequestTransferURL( 293 virtual void RequestTransferURL(
294 const GURL& url, 294 const GURL& url,
295 const content::Referrer& referrer, 295 const content::Referrer& referrer,
296 WindowOpenDisposition disposition, 296 WindowOpenDisposition disposition,
297 int64 source_frame_id, 297 int64 source_frame_id,
298 const content::GlobalRequestID& old_request_id) {} 298 const content::GlobalRequestID& old_request_id) {}
299 299
300 // The page wants to close the active view in this tab.
301 virtual void RouteCloseEvent(RenderViewHost* rvh) {}
302
300 // A javascript message, confirmation or prompt should be shown. 303 // A javascript message, confirmation or prompt should be shown.
301 virtual void RunJavaScriptMessage(RenderViewHost* rvh, 304 virtual void RunJavaScriptMessage(RenderViewHost* rvh,
302 const string16& message, 305 const string16& message,
303 const string16& default_prompt, 306 const string16& default_prompt,
304 const GURL& frame_url, 307 const GURL& frame_url,
305 ui::JavascriptMessageType type, 308 ui::JavascriptMessageType type,
306 IPC::Message* reply_msg, 309 IPC::Message* reply_msg,
307 bool* did_suppress_message) {} 310 bool* did_suppress_message) {}
308 311
309 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, 312 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // Notification that the view has lost the mouse lock. 405 // Notification that the view has lost the mouse lock.
403 virtual void LostMouseLock() {} 406 virtual void LostMouseLock() {}
404 407
405 protected: 408 protected:
406 virtual ~RenderViewHostDelegate() {} 409 virtual ~RenderViewHostDelegate() {}
407 }; 410 };
408 411
409 } // namespace content 412 } // namespace content
410 413
411 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 414 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698