Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 944763002: Make Page Visibility API work when the browser window is visible or not Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove the VisibilityNotify event handler Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_widget_host_view_child_frame.h
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 84835a871a541955369761f7c33cc71b44416f43..031685a4d284a1cfdc76a0c3d7e649926790ea9c 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -46,6 +46,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
bool IsSurfaceAvailableForCopy() const override;
void Show() override;
void Hide() override;
+ void Hide(bool content_visible) override;
bool IsShowing() override;
gfx::Rect GetViewBounds() const override;
gfx::Vector2dF GetLastScrollOffset() const override;

Powered by Google App Engine
This is Rietveld 408576698