Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 7c2da92c7b001db66bb987d1655c8c4aa65f7563..28300f52297fd609ff27cc6281d8cbaf832e20dd 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" |
@@ -428,7 +427,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; |
@@ -460,9 +458,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, |
@@ -681,6 +676,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. |