Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index fbc4613b2baa5a90db5cc68c22f9ad1984bc8149..651ddbc587487d20f35b1b1e92eb8c8cec1b59e4 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
#include "base/basictypes.h" |
+#include "base/i18n/rtl.h" |
#include "content/common/content_export.h" |
#include "content/public/common/javascript_message_type.h" |
@@ -91,6 +92,18 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
// level frame. |
virtual void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) {} |
+ // The page's title was changed and should be updated. Only called for the |
+ // top-level frame. |
+ virtual void UpdateTitle(RenderFrameHost* render_frame_host, |
+ int32 page_id, |
+ const base::string16& title, |
+ base::i18n::TextDirection title_direction) {} |
+ |
+ // The page's encoding was changed and should be updated. Only called for the |
+ // top-level frame. |
+ virtual void UpdateEncoding(RenderFrameHost* render_frame_host, |
+ const std::string& encoding) {} |
+ |
// Return this object cast to a WebContents, if it is one. If the object is |
// not a WebContents, returns NULL. |
virtual WebContents* GetAsWebContents(); |