Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / browser / web_contents / aura / overscroll_navigation_overlay.h
index 32b8819..e401e17 100644 (file)
@@ -37,6 +37,8 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
   // updates. This function makes sure that the screenshot window is stacked
   // on top, so that it hides the content window behind it, and destroys the
   // screenshot window when the page is done loading/painting.
+  // This should be called immediately after initiating the navigation,
+  // otherwise the overlay may be dismissed prematurely.
   void StartObserving();
 
   // Sets the screenshot window and the delegate. This takes ownership of
@@ -89,8 +91,8 @@ class CONTENT_EXPORT OverscrollNavigationOverlay
   virtual void OnWindowSliderDestroyed() OVERRIDE;
 
   // Overridden from WebContentsObserver:
-  virtual void DocumentOnLoadCompletedInMainFrame(int32 page_id) OVERRIDE;
-  virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) OVERRIDE;
+  virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
+  virtual void DidFirstVisuallyNonEmptyPaint() OVERRIDE;
   virtual void DidStopLoading(RenderViewHost* host) OVERRIDE;
   virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;