| Index: content/browser/renderer_host/render_view_host_delegate.h
|
| diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
|
| index 37bb5421ed6e9a0a00653c56e362bf739e7655d7..cb08ab8800d5e4135ca7ae9375d7c99a45d4a3cf 100644
|
| --- a/content/browser/renderer_host/render_view_host_delegate.h
|
| +++ b/content/browser/renderer_host/render_view_host_delegate.h
|
| @@ -33,7 +33,6 @@ class Message;
|
| }
|
|
|
| namespace gfx {
|
| -class Point;
|
| class Rect;
|
| class Size;
|
| }
|
| @@ -83,10 +82,6 @@ class CONTENT_EXPORT RenderViewHostDelegate {
|
| // jam as reviewers before you use this method. http://crbug.com/82582
|
| virtual WebContents* GetAsWebContents();
|
|
|
| - // Return the rect where to display the resize corner, if any, otherwise
|
| - // an empty rect.
|
| - virtual gfx::Rect GetRootWindowResizerRect() const = 0;
|
| -
|
| // The RenderView is being constructed (message sent to the renderer process
|
| // to construct a RenderView). Now is a good time to send other setup events
|
| // to the RenderView. This precedes any other commands to the RenderView.
|
| @@ -135,26 +130,12 @@ class CONTENT_EXPORT RenderViewHostDelegate {
|
| virtual RendererPreferences GetRendererPrefs(
|
| BrowserContext* browser_context) const = 0;
|
|
|
| - // Notification the user has made a gesture while focus was on the
|
| - // page. This is used to avoid uninitiated user downloads (aka carpet
|
| - // bombing), see DownloadRequestLimiter for details.
|
| - virtual void OnUserGesture() {}
|
| -
|
| // Notification from the renderer host that blocked UI event occurred.
|
| // This happens when there are tab-modal dialogs. In this case, the
|
| // notification is needed to let us draw attention to the dialog (i.e.
|
| // refocus on the modal dialog, flash title etc).
|
| virtual void OnIgnoredUIEvent() {}
|
|
|
| - // Notification that the renderer has become unresponsive. The
|
| - // delegate can use this notification to show a warning to the user.
|
| - virtual void RendererUnresponsive(RenderViewHost* render_view_host) {}
|
| -
|
| - // Notification that a previously unresponsive renderer has become
|
| - // responsive again. The delegate can use this notification to end the
|
| - // warning shown to the user.
|
| - virtual void RendererResponsive(RenderViewHost* render_view_host) {}
|
| -
|
| // Notification that the RenderViewHost's load state changed.
|
| virtual void LoadStateChanged(const GURL& url,
|
| const net::LoadStateWithParam& load_state,
|
| @@ -182,15 +163,6 @@ class CONTENT_EXPORT RenderViewHostDelegate {
|
| // The contents' preferred size changed.
|
| virtual void UpdatePreferredSize(const gfx::Size& pref_size) {}
|
|
|
| - // The contents auto-resized and the container should match it.
|
| - virtual void ResizeDueToAutoResize(const gfx::Size& new_size) {}
|
| -
|
| - // Requests to lock the mouse. Once the request is approved or rejected,
|
| - // GotResponseToLockMouseRequest() will be called on the requesting render
|
| - // view host.
|
| - virtual void RequestToLockMouse(bool user_gesture,
|
| - bool last_unlocked_by_target) {}
|
| -
|
| // Notification that the view has lost the mouse lock.
|
| virtual void LostMouseLock() {}
|
|
|
|
|