diff options
Diffstat (limited to 'content/public/browser/web_contents.h')
-rw-r--r-- | content/public/browser/web_contents.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h index 037fef84..309e264 100644 --- a/content/public/browser/web_contents.h +++ b/content/public/browser/web_contents.h @@ -361,10 +361,19 @@ class WebContents : public PageNavigator, // Returns the settings which get passed to the renderer. virtual content::RendererPreferences* GetMutableRendererPrefs() = 0; + // Set the time when we started to create the new tab page. This time is + // from before we created this WebContents. + virtual void SetNewTabStartTime(const base::TimeTicks& time) = 0; + virtual base::TimeTicks GetNewTabStartTime() const = 0; + // Tells the tab to close now. The tab will take care not to close until it's // out of nested message loops. virtual void Close() = 0; + // Notification that tab closing has started. This can be called multiple + // times, subsequent calls are ignored. + virtual void OnCloseStarted() = 0; + // A render view-originated drag has ended. Informs the render view host and // WebContentsDelegate. virtual void SystemDragEnded() = 0; |