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

Unified Diff: content/renderer/render_view_impl.h

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 6 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 | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 64fcb9d4fc37e6152cad070b6fa5ee5cd1fe9410..1ebdb174b2ea7463c1d874835d34e34c56f66056 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -45,7 +45,6 @@
#include "content/renderer/render_widget_owner_delegate.h"
#include "content/renderer/stats_collection_observer.h"
#include "ipc/ipc_platform_file.h"
-#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/web/WebAXObject.h"
#include "third_party/WebKit/public/web/WebConsoleMessage.h"
@@ -382,7 +381,6 @@ class CONTENT_EXPORT RenderViewImpl
void pageScaleFactorChanged() override;
virtual double zoomLevelToZoomFactor(double zoom_level) const;
virtual double zoomFactorToZoomLevel(double factor) const;
- blink::WebPageVisibilityState visibilityState() const override;
void draggableRegionsChanged() override;
void pageImportanceSignalsChanged() override;
@@ -415,7 +413,6 @@ class CONTENT_EXPORT RenderViewImpl
bool ShouldDisplayScrollbars(int width, int height) const override;
int GetEnabledBindings() const override;
bool GetContentStateImmediately() const override;
- blink::WebPageVisibilityState GetVisibilityState() const override;
void DidStartLoading() override;
void DidStopLoading() override;
void Repaint(const gfx::Size& size) override;
@@ -448,9 +445,6 @@ class CONTENT_EXPORT RenderViewImpl
void Close() override;
void OnResize(const ResizeParams& params) override;
void OnSetFocus(bool enable) override;
- void OnWasHidden() override;
- void OnWasShown(bool needs_repainting,
- const ui::LatencyInfo& latency_info) override;
GURL GetURLForGraphicsContext3D() override;
void OnImeSetComposition(
const base::string16& text,
@@ -672,6 +666,8 @@ class CONTENT_EXPORT RenderViewImpl
// Page message handlers -----------------------------------------------------
void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect);
void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level);
+ void OnPageWasHidden();
+ void OnPageWasShown();
// Adding a new message handler? Please add it in alphabetical order above
// and put it in the same position in the .cc file.
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698