diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 04:59:20 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 04:59:20 +0000 |
commit | 0aef1fc3afa4eb9e3d5d90652decd5f3595462d1 (patch) | |
tree | 502bfdab92061068531eb106402c9606a67c5574 /content/browser/web_contents/web_contents_view_aura.h | |
parent | 043de5ebf0afeefb83345d310d5271ad40d4f8e1 (diff) | |
download | chromium_src-0aef1fc3afa4eb9e3d5d90652decd5f3595462d1.zip chromium_src-0aef1fc3afa4eb9e3d5d90652decd5f3595462d1.tar.gz chromium_src-0aef1fc3afa4eb9e3d5d90652decd5f3595462d1.tar.bz2 |
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
Diffstat (limited to 'content/browser/web_contents/web_contents_view_aura.h')
-rw-r--r-- | content/browser/web_contents/web_contents_view_aura.h | 8 |
1 files changed, 8 insertions, 0 deletions
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<aura::Window> window_; + + // The window that shows the screenshot of the history page during an + // overscroll navigation gesture. scoped_ptr<aura::Window> overscroll_window_; scoped_ptr<WindowObserver> 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. |