From 0aef1fc3afa4eb9e3d5d90652decd5f3595462d1 Mon Sep 17 00:00:00 2001 From: "sadrul@chromium.org" Date: Thu, 14 Feb 2013 04:59:20 +0000 Subject: overscroll: Show a shadow for the sliding window during nav gesture. BUG=174219 Review URL: https://codereview.chromium.org/12225163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182388 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/web_contents/web_contents_view_aura.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content/browser/web_contents/web_contents_view_aura.h') diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h index 46c76c6..83dd4ef 100644 --- a/content/browser/web_contents/web_contents_view_aura.h +++ b/content/browser/web_contents/web_contents_view_aura.h @@ -27,6 +27,7 @@ class DropTargetEvent; namespace content { class OverscrollNavigationOverlay; +class ShadowWindow; class WebContentsViewDelegate; class WebContentsImpl; class WebDragDestDelegate; @@ -172,6 +173,9 @@ class CONTENT_EXPORT WebContentsViewAura virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; scoped_ptr window_; + + // The window that shows the screenshot of the history page during an + // overscroll navigation gesture. scoped_ptr overscroll_window_; scoped_ptr window_observer_; @@ -193,6 +197,10 @@ class CONTENT_EXPORT WebContentsViewAura // pointers. void* current_rvh_for_drag_; + // The container for the content-window. The doc for ShadowWindow explains its + // lifetime and ownership. + ShadowWindow* content_container_; + bool overscroll_change_brightness_; // The overscroll gesture currently in progress. -- cgit v1.1