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

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

Issue 1228993005: Be a little more precise in the wording of comments for process death. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 5 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.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_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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual gfx::Rect GetRootWindowResizerRect() const = 0; 88 virtual gfx::Rect GetRootWindowResizerRect() const = 0;
89 89
90 // The RenderView is being constructed (message sent to the renderer process 90 // The RenderView is being constructed (message sent to the renderer process
91 // to construct a RenderView). Now is a good time to send other setup events 91 // to construct a RenderView). Now is a good time to send other setup events
92 // to the RenderView. This precedes any other commands to the RenderView. 92 // to the RenderView. This precedes any other commands to the RenderView.
93 virtual void RenderViewCreated(RenderViewHost* render_view_host) {} 93 virtual void RenderViewCreated(RenderViewHost* render_view_host) {}
94 94
95 // The RenderView has been constructed. 95 // The RenderView has been constructed.
96 virtual void RenderViewReady(RenderViewHost* render_view_host) {} 96 virtual void RenderViewReady(RenderViewHost* render_view_host) {}
97 97
98 // The RenderView died somehow (crashed or was killed by the user). 98 // The process containing the RenderView exited somehow (either cleanly,
99 // crash, or user kill).
99 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 100 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
100 base::TerminationStatus status, 101 base::TerminationStatus status,
101 int error_code) {} 102 int error_code) {}
102 103
103 // The RenderView is going to be deleted. This is called when each 104 // The RenderView is going to be deleted. This is called when each
104 // RenderView is going to be destroyed 105 // RenderView is going to be destroyed
105 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 106 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
106 107
107 // The state for the page changed and should be updated. 108 // The state for the page changed and should be updated.
108 virtual void UpdateState(RenderViewHost* render_view_host, 109 virtual void UpdateState(RenderViewHost* render_view_host,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 virtual void SetIsVirtualKeyboardRequested(bool requested) {} 272 virtual void SetIsVirtualKeyboardRequested(bool requested) {}
272 virtual bool IsVirtualKeyboardRequested(); 273 virtual bool IsVirtualKeyboardRequested();
273 274
274 protected: 275 protected:
275 virtual ~RenderViewHostDelegate() {} 276 virtual ~RenderViewHostDelegate() {}
276 }; 277 };
277 278
278 } // namespace content 279 } // namespace content
279 280
280 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 281 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698