Chromium Code Reviews| Index: content/public/browser/web_contents.h |
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
| index 4f8a3f26c139feb35a84f65b01cf1d0530e1133f..61838e4a778fdb9c8f55a6f4154e914387019d42 100644 |
| --- a/content/public/browser/web_contents.h |
| +++ b/content/public/browser/web_contents.h |
| @@ -382,9 +382,9 @@ class WebContents : public PageNavigator, |
| virtual base::TimeTicks GetLastActiveTime() const = 0; |
| virtual void SetLastActiveTime(base::TimeTicks last_active_time) = 0; |
| - // Invoked when the WebContents becomes shown/hidden. |
| - virtual void WasShown() = 0; |
| - virtual void WasHidden() = 0; |
| + // Hides the RenderWidgetHostView if it is not being used for capture, and |
| + // emits WebContentsObserver::WasHidden(). |
| + virtual void MarkBackgrounded() = 0; |
|
jam
2016/02/29 17:36:36
what's the other analogous method?
i.e. it seems
tapted
2016/02/29 22:42:32
Ah, that's the thing :). `MarkBackgrounded` actual
|
| // Returns true if the before unload and unload listeners need to be |
| // fired. The value of this changes over time. For example, if true and the |