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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 1928023002: Remove WebContentsDelegate::SwappedOut (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const base::string16& message, 57 const base::string16& message,
58 int32_t line_no, 58 int32_t line_no,
59 const base::string16& source_id); 59 const base::string16& source_id);
60 60
61 // Informs the delegate whenever a RenderFrameHost is created. 61 // Informs the delegate whenever a RenderFrameHost is created.
62 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) {} 62 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) {}
63 63
64 // Informs the delegate whenever a RenderFrameHost is deleted. 64 // Informs the delegate whenever a RenderFrameHost is deleted.
65 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) {} 65 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) {}
66 66
67 // The RenderFrameHost has been swapped out.
68 virtual void SwappedOut(RenderFrameHost* render_frame_host) {}
69
70 // A context menu should be shown, to be built using the context information 67 // A context menu should be shown, to be built using the context information
71 // provided in the supplied params. 68 // provided in the supplied params.
72 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, 69 virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
73 const ContextMenuParams& params) {} 70 const ContextMenuParams& params) {}
74 71
75 // A JavaScript message, confirmation or prompt should be shown. 72 // A JavaScript message, confirmation or prompt should be shown.
76 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host, 73 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host,
77 const base::string16& message, 74 const base::string16& message,
78 const base::string16& default_prompt, 75 const base::string16& default_prompt,
79 const GURL& frame_url, 76 const GURL& frame_url,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 184 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
188 const GURL& url); 185 const GURL& url);
189 186
190 protected: 187 protected:
191 virtual ~RenderFrameHostDelegate() {} 188 virtual ~RenderFrameHostDelegate() {}
192 }; 189 };
193 190
194 } // namespace content 191 } // namespace content
195 192
196 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 193 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698