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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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: use of SetWindowVisibility message Created 5 years, 8 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 89bead7ba5d890cf2c78985745ee68f3cef02191..f87d82a247d5da31a0f03e7e2b4d7741e8750fea 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -158,6 +158,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void SetBackgroundColor(SkColor color) override;
gfx::Size GetVisibleViewportSize() const override;
void SetInsets(const gfx::Insets& insets) override;
+ void SetWindowVisibility(bool visible);
// Overridden from RenderWidgetHostViewBase:
void InitAsPopup(RenderWidgetHostView* parent_host_view,
@@ -312,6 +313,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void OnHostMoved(const aura::WindowTreeHost* host,
const gfx::Point& new_origin) override;
+ void OnHostSetWindowVisibility(const aura::WindowTreeHost* host,
+ bool visible);
+
void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params);
#if defined(OS_WIN)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698