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

Side by Side Diff: content/browser/frame_host/render_frame_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // level frame. 111 // level frame.
112 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {} 112 virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {}
113 113
114 // The state for the page changed and should be updated in session history. 114 // The state for the page changed and should be updated in session history.
115 virtual void UpdateStateForFrame(RenderFrameHost* render_frame_host, 115 virtual void UpdateStateForFrame(RenderFrameHost* render_frame_host,
116 const PageState& page_state) {} 116 const PageState& page_state) {}
117 117
118 // The page's title was changed and should be updated. Only called for the 118 // The page's title was changed and should be updated. Only called for the
119 // top-level frame. 119 // top-level frame.
120 virtual void UpdateTitle(RenderFrameHost* render_frame_host, 120 virtual void UpdateTitle(RenderFrameHost* render_frame_host,
121 int32_t page_id,
122 const base::string16& title, 121 const base::string16& title,
123 base::i18n::TextDirection title_direction) {} 122 base::i18n::TextDirection title_direction) {}
124 123
125 // The page's encoding was changed and should be updated. Only called for the 124 // The page's encoding was changed and should be updated. Only called for the
126 // top-level frame. 125 // top-level frame.
127 virtual void UpdateEncoding(RenderFrameHost* render_frame_host, 126 virtual void UpdateEncoding(RenderFrameHost* render_frame_host,
128 const std::string& encoding) {} 127 const std::string& encoding) {}
129 128
130 // Return this object cast to a WebContents, if it is one. If the object is 129 // Return this object cast to a WebContents, if it is one. If the object is
131 // not a WebContents, returns NULL. 130 // not a WebContents, returns NULL.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 208 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
210 const GURL& url); 209 const GURL& url);
211 210
212 protected: 211 protected:
213 virtual ~RenderFrameHostDelegate() {} 212 virtual ~RenderFrameHostDelegate() {}
214 }; 213 };
215 214
216 } // namespace content 215 } // namespace content
217 216
218 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 217 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698