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

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

Issue 606113005: Move RenderViewHost swap out state to RenderFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrossSiteIframe test. Created 6 years, 2 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 (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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 virtual void OnUserGesture() {} 148 virtual void OnUserGesture() {}
149 149
150 // Notification from the renderer host that blocked UI event occurred. 150 // Notification from the renderer host that blocked UI event occurred.
151 // This happens when there are tab-modal dialogs. In this case, the 151 // This happens when there are tab-modal dialogs. In this case, the
152 // notification is needed to let us draw attention to the dialog (i.e. 152 // notification is needed to let us draw attention to the dialog (i.e.
153 // refocus on the modal dialog, flash title etc). 153 // refocus on the modal dialog, flash title etc).
154 virtual void OnIgnoredUIEvent() {} 154 virtual void OnIgnoredUIEvent() {}
155 155
156 // Notification that the renderer has become unresponsive. The 156 // Notification that the renderer has become unresponsive. The
157 // delegate can use this notification to show a warning to the user. 157 // delegate can use this notification to show a warning to the user.
158 virtual void RendererUnresponsive(RenderViewHost* render_view_host, 158 virtual void RendererUnresponsive(RenderViewHost* render_view_host) {}
Charlie Reis 2014/09/29 16:52:57 There's no need to pass the extra parameters, sinc
159 bool is_during_before_unload,
160 bool is_during_unload) {}
161 159
162 // Notification that a previously unresponsive renderer has become 160 // Notification that a previously unresponsive renderer has become
163 // responsive again. The delegate can use this notification to end the 161 // responsive again. The delegate can use this notification to end the
164 // warning shown to the user. 162 // warning shown to the user.
165 virtual void RendererResponsive(RenderViewHost* render_view_host) {} 163 virtual void RendererResponsive(RenderViewHost* render_view_host) {}
166 164
167 // Notification that the RenderViewHost's load state changed. 165 // Notification that the RenderViewHost's load state changed.
168 virtual void LoadStateChanged(const GURL& url, 166 virtual void LoadStateChanged(const GURL& url,
169 const net::LoadStateWithParam& load_state, 167 const net::LoadStateWithParam& load_state,
170 uint64 upload_position, 168 uint64 upload_position,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // created by the RenderViewHost. 280 // created by the RenderViewHost.
283 virtual FrameTree* GetFrameTree(); 281 virtual FrameTree* GetFrameTree();
284 282
285 protected: 283 protected:
286 virtual ~RenderViewHostDelegate() {} 284 virtual ~RenderViewHostDelegate() {}
287 }; 285 };
288 286
289 } // namespace content 287 } // namespace content
290 288
291 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 289 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698