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

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

Issue 2648053002: Remove old session history logic. (Closed)
Patch Set: Remove comment. Created 3 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 25
26 namespace gfx { 26 namespace gfx {
27 class Rect; 27 class Rect;
28 class Size; 28 class Size;
29 } 29 }
30 30
31 namespace content { 31 namespace content {
32 32
33 class BrowserContext; 33 class BrowserContext;
34 class FrameTree; 34 class FrameTree;
35 class PageState;
36 class RenderViewHost; 35 class RenderViewHost;
37 class RenderViewHostImpl; 36 class RenderViewHostImpl;
38 class RenderViewHostDelegateView; 37 class RenderViewHostDelegateView;
39 class SessionStorageNamespace; 38 class SessionStorageNamespace;
40 class SiteInstance; 39 class SiteInstance;
41 class WebContents; 40 class WebContents;
42 struct RendererPreferences; 41 struct RendererPreferences;
43 42
44 // 43 //
45 // RenderViewHostDelegate 44 // RenderViewHostDelegate
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // The process containing the RenderView exited somehow (either cleanly, 77 // The process containing the RenderView exited somehow (either cleanly,
79 // crash, or user kill). 78 // crash, or user kill).
80 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 79 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
81 base::TerminationStatus status, 80 base::TerminationStatus status,
82 int error_code) {} 81 int error_code) {}
83 82
84 // The RenderView is going to be deleted. This is called when each 83 // The RenderView is going to be deleted. This is called when each
85 // RenderView is going to be destroyed 84 // RenderView is going to be destroyed
86 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 85 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
87 86
88 // The state for the page changed and should be updated.
89 virtual void UpdateState(RenderViewHost* render_view_host,
90 const PageState& state) {}
91
92 // The destination URL has changed should be updated. 87 // The destination URL has changed should be updated.
93 virtual void UpdateTargetURL(RenderViewHost* render_view_host, 88 virtual void UpdateTargetURL(RenderViewHost* render_view_host,
94 const GURL& url) {} 89 const GURL& url) {}
95 90
96 // The page is trying to close the RenderView's representation in the client. 91 // The page is trying to close the RenderView's representation in the client.
97 virtual void Close(RenderViewHost* render_view_host) {} 92 virtual void Close(RenderViewHost* render_view_host) {}
98 93
99 // The page is trying to move the RenderView's representation in the client. 94 // The page is trying to move the RenderView's representation in the client.
100 virtual void RequestMove(const gfx::Rect& new_bounds) {} 95 virtual void RequestMove(const gfx::Rect& new_bounds) {}
101 96
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // the focused RenderWidget. 193 // the focused RenderWidget.
199 virtual void ClearFocusedElement() {} 194 virtual void ClearFocusedElement() {}
200 195
201 protected: 196 protected:
202 virtual ~RenderViewHostDelegate() {} 197 virtual ~RenderViewHostDelegate() {}
203 }; 198 };
204 199
205 } // namespace content 200 } // namespace content
206 201
207 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 202 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698