summaryrefslogtreecommitdiffstats
path: root/content/browser/web_contents/web_contents_view_aura.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-22 22:02:21 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-22 22:02:21 +0000
commitd8962f4e29eab61c849b14afc435ccdcb5b448de (patch)
treeb334bee9cb866409d4f786b5fbb7aa3e57eca775 /content/browser/web_contents/web_contents_view_aura.h
parent0043b2da48e22ded10ff3612fd7b6e6679d566f5 (diff)
downloadchromium_src-d8962f4e29eab61c849b14afc435ccdcb5b448de.zip
chromium_src-d8962f4e29eab61c849b14afc435ccdcb5b448de.tar.gz
chromium_src-d8962f4e29eab61c849b14afc435ccdcb5b448de.tar.bz2
overscroll: Change the brightness of the overlay during overscroll gesture.
BUG=160668 Review URL: https://codereview.chromium.org/12052013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178116 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.h4
1 files changed, 4 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 fe8d136..eed46c0f 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -82,6 +82,8 @@ class CONTENT_EXPORT WebContentsViewAura
// by overscroll. This function sets this up.
void PrepareOverscrollNavigationOverlay();
+ void SetOverscrollWindowBrightness(float brightness, bool animate);
+
// Overridden from WebContentsView:
virtual void CreateView(
const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE;
@@ -189,6 +191,8 @@ class CONTENT_EXPORT WebContentsViewAura
// pointers.
void* current_rvh_for_drag_;
+ bool overscroll_change_brightness_;
+
// The overscroll gesture currently in progress.
OverscrollMode current_overscroll_gesture_;