int64 source_frame_num) OVERRIDE;
virtual void FrameDetached(content::RenderViewHost* render_view_host,
int64 frame_num) OVERRIDE;
- virtual void WebContentsDestroyed(content::WebContents* tab) OVERRIDE;
+ virtual void WebContentsDestroyed() OVERRIDE;
private:
explicit WebNavigationTabObserver(content::WebContents* web_contents);
// API function that returns the state of a given frame.
class WebNavigationGetFrameFunction : public ChromeSyncExtensionFunction {
virtual ~WebNavigationGetFrameFunction() {}
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunSync() OVERRIDE;
DECLARE_EXTENSION_FUNCTION("webNavigation.getFrame", WEBNAVIGATION_GETFRAME)
};
// API function that returns the states of all frames in a given tab.
class WebNavigationGetAllFramesFunction : public ChromeSyncExtensionFunction {
virtual ~WebNavigationGetAllFramesFunction() {}
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunSync() OVERRIDE;
DECLARE_EXTENSION_FUNCTION("webNavigation.getAllFrames",
WEBNAVIGATION_GETALLFRAMES)
};