class HistoryTabHelper : public content::WebContentsObserver,
public content::WebContentsUserData<HistoryTabHelper> {
public:
- virtual ~HistoryTabHelper();
+ ~HistoryTabHelper() override;
// Updates history with the specified navigation. This is called by
// OnMsgNavigate to update history state.
friend class content::WebContentsUserData<HistoryTabHelper>;
// content::WebContentsObserver implementation.
- virtual void DidNavigateMainFrame(
+ void DidNavigateMainFrame(
const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) OVERRIDE;
- virtual void DidNavigateAnyFrame(
- const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) OVERRIDE;
- virtual void TitleWasSet(content::NavigationEntry* entry,
- bool explicit_set) OVERRIDE;
- virtual void WebContentsDestroyed() OVERRIDE;
+ const content::FrameNavigateParams& params) override;
+ void DidNavigateAnyFrame(content::RenderFrameHost* render_frame_host,
+ const content::LoadCommittedDetails& details,
+ const content::FrameNavigateParams& params) override;
+ void TitleWasSet(content::NavigationEntry* entry, bool explicit_set) override;
+ void WebContentsDestroyed() override;
// Helper function to return the history service. May return NULL.
HistoryService* GetHistoryService();