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

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

Issue 1258273006: Remove page id from title and state updating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch
Patch Set: comment nit Created 4 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 98 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
99 base::TerminationStatus status, 99 base::TerminationStatus status,
100 int error_code) {} 100 int error_code) {}
101 101
102 // The RenderView is going to be deleted. This is called when each 102 // The RenderView is going to be deleted. This is called when each
103 // RenderView is going to be destroyed 103 // RenderView is going to be destroyed
104 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 104 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
105 105
106 // The state for the page changed and should be updated. 106 // The state for the page changed and should be updated.
107 virtual void UpdateState(RenderViewHost* render_view_host, 107 virtual void UpdateState(RenderViewHost* render_view_host,
108 int32_t page_id,
109 const PageState& state) {} 108 const PageState& state) {}
110 109
111 // The destination URL has changed should be updated. 110 // The destination URL has changed should be updated.
112 virtual void UpdateTargetURL(RenderViewHost* render_view_host, 111 virtual void UpdateTargetURL(RenderViewHost* render_view_host,
113 const GURL& url) {} 112 const GURL& url) {}
114 113
115 // The page is trying to close the RenderView's representation in the client. 114 // The page is trying to close the RenderView's representation in the client.
116 virtual void Close(RenderViewHost* render_view_host) {} 115 virtual void Close(RenderViewHost* render_view_host) {}
117 116
118 // The page is trying to move the RenderView's representation in the client. 117 // The page is trying to move the RenderView's representation in the client.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 241
243 virtual bool IsJavaScriptDialogShowing() const; 242 virtual bool IsJavaScriptDialogShowing() const;
244 243
245 protected: 244 protected:
246 virtual ~RenderViewHostDelegate() {} 245 virtual ~RenderViewHostDelegate() {}
247 }; 246 };
248 247
249 } // namespace content 248 } // namespace content
250 249
251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 250 #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