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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 12225163: overscroll: Show a shadow for the sliding window during nav gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 7 years, 10 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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 46c76c67471c0387b84e72d65435c70b22087df5..83dd4ef603abedb15b8562748de948c8511b894e 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.
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698