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

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay.h

Issue 278173005: Removing listening for repaints (OnUpdateRect) from OverscrollNavigationOverlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/web_contents/aura/overscroll_navigation_overlay.h
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay.h b/content/browser/web_contents/aura/overscroll_navigation_overlay.h
index e401e17680db2ea38a7b8ca9f9cd8858a147ca69..5cb333853f4e018dc6523397819d6c1f974a919d 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay.h
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay.h
@@ -79,9 +79,6 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
// NavigationEntry for the screenshot image to display.
ui::Layer* CreateSlideLayer(int offset);
- // IPC message callbacks.
- void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
-
// Overridden from WindowSlider::Delegate:
virtual ui::Layer* CreateBackLayer() OVERRIDE;
virtual ui::Layer* CreateFrontLayer() OVERRIDE;
@@ -91,10 +88,7 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
virtual void OnWindowSliderDestroyed() OVERRIDE;
// Overridden from WebContentsObserver:
- virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
virtual void DidFirstVisuallyNonEmptyPaint() OVERRIDE;
- virtual void DidStopLoading(RenderViewHost* host) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
// The WebContents which is being navigated.
WebContentsImpl* web_contents_;
@@ -106,7 +100,6 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
// lifetime (destroys itself when |window_| is destroyed).
ImageWindowDelegate* image_delegate_;
- bool loading_complete_;
bool received_paint_update_;
// Unique ID of the NavigationEntry we are navigating to. This is needed to

Powered by Google App Engine
This is Rietveld 408576698