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

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

Issue 202183003: Fixing race conditions in ui::content::WindowSlider which could cause the overscroll overlay to nev… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 68a60a2c025e5eed901c23e01926d5acb5ec2cef..9786f21327dc616f529b1d5afc69ebdfb2010e1d 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay.h
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay.h
@@ -81,9 +81,10 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
// Overridden from WindowSlider::Delegate:
- virtual ui::Layer* CreateBackLayer() OVERRIDE;
- virtual ui::Layer* CreateFrontLayer() OVERRIDE;
- virtual void OnWindowSlideComplete() OVERRIDE;
+ virtual ui::Layer* OnSlideBackStartedCreateLayer() OVERRIDE;
+ virtual ui::Layer* OnSlideForwardStartedCreateLayer() OVERRIDE;
+ virtual void OnWindowFlingStarted() OVERRIDE;
+ virtual void OnWindowFlingCompleted() OVERRIDE;
virtual void OnWindowSlideAborted() OVERRIDE;
virtual void OnWindowSliderDestroyed() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698